// regularly
virtual void OnInternalIdle();
- // Internal represention of Update()
- void GtkUpdate();
-
// For compatibility across platforms (not in event table)
void OnIdle(wxIdleEvent& WXUNUSED(event)) {}
public:
// Returns the default context which usually is anti-aliased
- PangoContext *GtkGetPangoDefaultContext();
+ PangoContext *GTKGetPangoDefaultContext();
#if wxUSE_TOOLTIPS
// applies tooltip to the widget (tip must be UTF-8 encoded)
- virtual void ApplyToolTip( GtkTooltips *tips, const gchar *tip );
+ virtual void GTKApplyToolTip( GtkTooltips *tips, const gchar *tip );
#endif // wxUSE_TOOLTIPS
// Called when a window should delay showing itself
- // until idle time. This partly mimmicks defered
- // sizing under MSW.
- void GtkShowOnIdle() { m_showOnIdle = true; }
+ // until idle time used in Reparent().
+ void GTKShowOnIdle() { m_showOnIdle = true; }
// This is called from the various OnInternalIdle methods
- bool GtkShowFromOnIdle();
-
- // fix up the mouse event coords, used by wxListBox only so far
- virtual void FixUpMouseEvent(GtkWidget * WXUNUSED(widget),
- wxCoord& WXUNUSED(x),
- wxCoord& WXUNUSED(y)) { }
+ bool GTKShowFromOnIdle();
// is this window transparent for the mouse events (as wxStaticBox is)?
- virtual bool IsTransparentForMouse() const { return false; }
+ virtual bool GTKIsTransparentForMouse() const { return false; }
// Common scroll event handling code for wxWindow and wxScrollBar
- wxEventType GetScrollEventType(GtkRange* range);
+ wxEventType GTKGetScrollEventType(GtkRange* range);
// position and size of the window
int m_x, m_y;
#if wxUSE_MENUS_NATIVE
virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
- virtual void DoPopupMenuUpdateUI(wxMenu* menu);
#endif // wxUSE_MENUS_NATIVE
virtual void DoCaptureMouse();
// modified GTK style with non-standard attributes. If forceStyle=true,
// creates empty GtkRcStyle if there are no modifications, otherwise
// returns NULL in such case.
- GtkRcStyle *CreateWidgetStyle(bool forceStyle = false);
+ GtkRcStyle *GTKCreateWidgetStyle(bool forceStyle = false);
// Overridden in many GTK widgets who have to handle subwidgets
- virtual void ApplyWidgetStyle(bool forceStyle = false);
+ virtual void GTKApplyWidgetStyle(bool forceStyle = false);
// helper function to ease native widgets wrapping, called by
// ApplyWidgetStyle -- override this, not ApplyWidgetStyle
virtual void DoApplyWidgetStyle(GtkRcStyle *style);
// sets the border of a given GtkScrolledWindow from a wx style
- static void GtkScrolledWindowSetBorder(GtkWidget* w, int style);
+ static void GTKScrolledWindowSetBorder(GtkWidget* w, int style);
// set the current cursor for all GdkWindows making part of this widget
// (see GTKGetWindow)
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
- DECLARE_NO_COPY_CLASS(wxWindowGTK)
+ wxDECLARE_NO_COPY_CLASS(wxWindowGTK);
};
#endif // _WX_GTK_WINDOW_H_