virtual ~wxClientData() { }
};
-//-----------------------------------------------------------------------------
-// wxVoidClientData
-//-----------------------------------------------------------------------------
-
-class wxVoidClientData : public wxClientData
-{
-public:
- wxVoidClientData() { m_data = NULL; }
- wxVoidClientData( void *data ) { m_data = data; }
- void SetData( void* data ) { m_data = data; }
- void *GetData() const { return m_data; }
-
-private:
- void *m_data;
-};
-
//-----------------------------------------------------------------------------
// wxStringClientData
//-----------------------------------------------------------------------------
{ return (m_parent ? m_parent->m_parent : (wxWindow*)NULL); }
void SetParent( wxWindow *p )
{ m_parent = p; }
+ virtual wxWindow *ReParent( wxWindow *newParent );
wxEvtHandler *GetEventHandler();
void SetEventHandler( wxEvtHandler *handler );
virtual void SetClientData( void *data );
virtual void *GetClientData();
-
virtual void SetAcceleratorTable( const wxAcceleratorTable& accel );
virtual wxAcceleratorTable *GetAcceleratorTable() { return &m_acceleratorTable; }
virtual GtkWidget *GetConnectWidget();
virtual bool IsOwnGtkWindow( GdkWindow *window );
void ConnectWidget( GtkWidget *widget );
- void ConnectDnDWidget( GtkWidget *widget );
- void DisconnectDnDWidget( GtkWidget *widget );
bool HasVMT();
- virtual void ImplementSetSize();
- virtual void ImplementSetPosition();
-
virtual wxPoint GetClientAreaOrigin() const;
virtual void AdjustForParentClientOrigin( int& x, int& y, int sizeFlags );
bool m_isEnabled;
wxString m_windowName;
wxAcceleratorTable m_acceleratorTable;
- wxClientData *m_clientData;
+ wxClientData *m_clientObject;
+ void *m_clientData;
GtkWidget *m_widget;
GtkWidget *m_wxwindow;