X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b64e79868d4d32c3541bbd049d3f9f94c8edbfe..28be2e8a170979d476a5ea4f585505b8a2f5af27:/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); }