const wxFont *theFont = (const wxFont *) NULL)
const;
- virtual void ClientToScreen( int *x, int *y ) const;
- virtual void ScreenToClient( int *x, int *y ) const;
-
virtual bool PopupMenu( wxMenu *menu, int x, int y );
virtual void SetScrollbar( int orient, int pos, int thumbVisible,
virtual WXWidget GetHandle() const { return m_widget; }
- // wxWindows callbacks
- void OnKeyDown( wxKeyEvent &event );
-
// also sets the global flag
void SetScrolling(bool scroll);
// creates a new widget style if none is there
// and sets m_widgetStyle to this value.
GtkStyle *GetWidgetStyle();
-
+
// called by SetFont() and SetXXXColour etc
void SetWidgetStyle();
-
+
// overridden in many GTK widgets
virtual void ApplyWidgetStyle();
bool m_isStaticBox:1; /* faster than IS_KIND_OF */
bool m_isFrame:1; /* faster than IS_KIND_OF */
bool m_acceptsFocus:1; /* ! wxStaticBox etc. */
-
+
// these are true if the style were set before the widget was realized
// (typcally in the constructor) but the actual GTK style must not be set
// before the widget has been "realized"
wxInsertChildFunction m_insertCallback;
// implement the base class pure virtuals
+ virtual void DoClientToScreen( int *x, int *y ) const;
+ virtual void DoScreenToClient( int *x, int *y ) const;
virtual void DoGetPosition( int *x, int *y ) const;
virtual void DoGetSize( int *width, int *height ) const;
virtual void DoGetClientSize( int *width, int *height ) const;
void Init();
private:
- DECLARE_EVENT_TABLE()
+ DECLARE_NO_COPY_CLASS(wxWindow);
};
#endif // __GTKWINDOWH__