wxMac completed so far, generic listctrl extension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user