X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f26623c81769a5ec293dcad0ee6ed3fa48b07f82..b8af111fa5d3916e6f42fee3af0ab1bec0ace7b6:/include/wx/gtk/window.h diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 0938985f32..46475e3ea2 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -7,14 +7,9 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKWINDOWH__ #define __GTKWINDOWH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface -#endif - // helper structure that holds class that holds GtkIMContext object and // some additional data needed for key events processing struct wxGtkIMData; @@ -178,6 +173,10 @@ public: virtual void ApplyToolTip( GtkTooltips *tips, const wxChar *tip ); #endif // wxUSE_TOOLTIPS + // Call after modifing the value of m_hAdjust or m_vAdjust to bring the + // scrolbar in sync (this does not generate any wx events) + void GtkUpdateScrollbar(int orient); + // Called from GTK signales handlers. it indicates that // the layouting functions have to be called later on // (i.e. in idle time, implemented in OnInternalIdle() ). @@ -208,13 +207,13 @@ public: #ifdef __WXGTK20__ wxGtkIMData *m_imData; -#else -#if HAVE_XIM && !defined(__WXGTK20__) +#else // GTK 1 +#ifdef HAVE_XIM // XIM support for wxWidgets GdkIC *m_ic; GdkICAttr *m_icattr; -#endif -#endif +#endif // HAVE_XIM +#endif // GTK 2/1 #ifndef __WXGTK20__ // The area to be cleared (and not just refreshed)