moving more things to common API between carbon and cocoa, adapting WidthDefault etc, removing dependencies from wxClientDC from text measuring ops on wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -452,12 +452,7 @@ public :
|
||||
|
||||
virtual OSStatus SetTabEnabled( SInt16 tabNo , bool enable );
|
||||
|
||||
void InstallEventHandler()
|
||||
{
|
||||
MacInstallEventHandler( m_controlRef, m_wxPeer );
|
||||
}
|
||||
|
||||
static void MacInstallEventHandler( ControlRef control, wxWindowMac* wxPeer );
|
||||
void InstallEventHandler( WXWidget control = NULL );
|
||||
protected :
|
||||
WXEVENTHANDLERREF m_macControlEventHandler ;
|
||||
ControlRef m_controlRef;
|
||||
|
@@ -236,6 +236,15 @@ public :
|
||||
// state changing logic is required from the outside
|
||||
virtual bool ButtonClickDidStateChange() = 0;
|
||||
|
||||
// static methods for associating native controls and their implementations
|
||||
|
||||
static wxWidgetImpl*
|
||||
FindFromWXWidget(WXWidget control);
|
||||
|
||||
static void RemoveAssociations( wxWidgetImpl* impl);
|
||||
|
||||
static void Associate( WXWidget control, wxWidgetImpl *impl );
|
||||
|
||||
// static creation methods, must be implemented by all toolkits
|
||||
|
||||
static wxWidgetImplType* CreateUserPane( wxWindowMac* wxpeer,
|
||||
|
Reference in New Issue
Block a user