// Subclass again for purposes of dialog editing mode
SubclassWin(m_hWnd);
- SetFont(* GetParent()->GetFont());
+ SetFont(GetParent()->GetFont());
SetSize(x, y, width, height);
return TRUE;
bool wxStaticBitmap::MSWOnDraw(WXDRAWITEMSTRUCT *item)
{
long style = GetWindowLong((HWND) GetHWND(), GWL_STYLE);
-#ifdef __WIN32__
+#if defined(__WIN32__) && defined(SS_BITMAP)
if ((style & 0xFF) == SS_BITMAP)
{
// Should we call Default() here?