#if wxUSE_WX_RESOURCES
-#ifdef _MSC_VER
+#ifdef __VISUALC__
#pragma warning(disable:4706) // assignment within conditional expression
#endif // VC++
SetClientSize(sz.x, sz.y);
wxPoint pt = ConvertDialogToPixels(wxPoint(x, y));
+ #ifdef __WXMAC__
+ int mbarheight = 2 * LMGetMBarHeight() ;
+ pt.y += mbarheight ;
+ #endif
Move(pt.x, pt.y);
}
return table->CreateItem((wxWindow *)this, resource, parentResource);
}
-#ifdef _MSC_VER
+#ifdef __VISUALC__
#pragma warning(default:4706) // assignment within conditional expression
#endif // VC++