summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waLabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/winskin/waLabel.cpp')
-rw-r--r--noatun/modules/winskin/waLabel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noatun/modules/winskin/waLabel.cpp b/noatun/modules/winskin/waLabel.cpp
index 54b7513b..bb16d118 100644
--- a/noatun/modules/winskin/waLabel.cpp
+++ b/noatun/modules/winskin/waLabel.cpp
@@ -24,7 +24,7 @@ WaLabel::WaLabel(int mapping) : WaWidget(mapping)
completePixmap = new TQPixmap();
- TQSize size = sizeHint();
+ TQSize size = tqsizeHint();
completePixmap->resize(size.width(), size.height());
}
@@ -58,7 +58,7 @@ void WaLabel::pixmapChange()
int n = label_text ? strlen(label_text) : 0;
for (int i = 0; i < n; i++)
- WaSkinModel::instance()->getText(label_text[i], completePixmap,
+ WaSkinModel::instance()->getText(label_text[i], TQT_TQPAINTDEVICE(completePixmap),
i * _WA_TEXT_WIDTH, 0);
}