m_font = font;
- return;
-
#if wxUSE_UNICODE
m_fontdesc = font.GetNativeFontInfo()->description;
#endif
if (!m_window) return;
+ if (width <= 0)
+ width = 1;
+
+ if (height <= 0)
+ height = 1;
+
wxRect rect;
rect.x = XLOG2DEV(x);
rect.y = YLOG2DEV(y);