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