X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a8e6bf8ae22d1d76bcbe1e42519b2f425718fbc2..c59ceaaaf01d67955a114609adb692372fd18f6c:/src/mac/listbox.cpp diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index ffbe8e7035..7cfcbc5bce 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -168,7 +168,7 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, Size asize; - CreateListBoxControl( parent->GetMacRootWindow(), &bounds, false, 0, 1, false, true, + CreateListBoxControl( parent->MacGetRootWindow(), &bounds, false, 0, 1, false, true, 14, 14, false, &listDef, &m_macControl ); GetControlData(m_macControl, kControlNoPart, kControlListBoxListHandleTag, @@ -180,7 +180,7 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, #else long result ; - m_macControl = ::NewControl( parent->GetMacRootWindow() , &bounds , title , false , + m_macControl = ::NewControl( parent->MacGetRootWindow() , &bounds , title , false , kwxMacListWithVerticalScrollbar , 0 , 0, kControlListBoxProc , (long) this ) ; ::GetControlData( m_macControl , kControlNoPart , kControlListBoxListHandleTag , @@ -588,7 +588,7 @@ void wxListBox::SetupColours() void wxListBox::Refresh(bool eraseBack, const wxRect *rect) { // Set up port - WindowRef rootwindow = GetMacRootWindow() ; + WindowRef rootwindow = MacGetRootWindow() ; wxWindow* wxrootwindow = wxFindWinFromMacWindow( rootwindow ) ; wxMacDrawingHelper focus( wxrootwindow );