X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37e2cb08cd1910ec5a14b38f0addfc6e2e8e172e..1a787c5dc89b1cb6a9ddb4ebef3ad2fb24b49c8c:/src/mac/control.cpp?ds=inline diff --git a/src/mac/control.cpp b/src/mac/control.cpp index 122f58de8f..f6fa56cb91 100644 --- a/src/mac/control.cpp +++ b/src/mac/control.cpp @@ -18,7 +18,7 @@ #include "wx/tabctrl.h" #include "wx/spinbutt.h" -IMPLEMENT_ABSTRACT_CLASS(wxControl, wxControlBase) +IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow) BEGIN_EVENT_TABLE(wxControl, wxControlBase) EVT_MOUSE_EVENTS( wxControl::OnMouseEvent ) @@ -383,7 +383,6 @@ void wxControl::MacSuperEnabled( bool enabled ) void wxControl::MacSuperShown( bool show ) { - /* if ( m_macControl ) { if ( !show ) @@ -392,13 +391,12 @@ void wxControl::MacSuperShown( bool show ) } else { - if ( m_macShown ) + if ( m_isShown ) ::UMAShowControl( m_macControl ) ; } } wxWindow::MacSuperShown( show ) ; - */ } void wxControl::DoSetSize(int x, int y,