X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f4a0c5be34be837210768501c13dbcff81e533c..523050b607cfb5e6f9dfcb1544eb4f49ec1978cd:/src/common/resourc2.cpp

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);
   }