X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f4a0c5be34be837210768501c13dbcff81e533c..c81f40e0fe3ea56c7291a83045419455649809f4:/src/common/resourc2.cpp?ds=sidebyside diff --git a/src/common/resourc2.cpp b/src/common/resourc2.cpp index 42deac36a0..7774e5a7c5 100644 --- a/src/common/resourc2.cpp +++ b/src/common/resourc2.cpp @@ -1545,6 +1545,10 @@ bool wxWindow::LoadFromResource(wxWindow *parent, const wxString& resourceName, 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); }