]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/toplevel.cpp
fixed wxMBConv_iconv to work with UTF-16/32
[wxWidgets.git] / src / gtk / toplevel.cpp
index 0a7d9739ad715c9abc51792bb4340d11a0301e6e..db1c6404ddceb978b7ee1da77f71c786177593fd 100644 (file)
 // XA_CARDINAL
 #include <X11/Xatom.h>
 
-// ----------------------------------------------------------------------------
-// idle system
-// ----------------------------------------------------------------------------
-
-extern void wxapp_install_idle_handler();
-extern bool g_isIdle;
-
 // ----------------------------------------------------------------------------
 // data
 // ----------------------------------------------------------------------------
@@ -1281,8 +1274,10 @@ void wxTopLevelWindowGTK::RequestUserAttention(int flags)
 
 void wxTopLevelWindowGTK::SetWindowStyleFlag( long style )
 {
+#if defined(__WXGTK24__) || GTK_CHECK_VERSION(2,2,0)
     // Store which styles were changed
     long styleChanges = style ^ m_windowStyle;
+#endif
 
     // Process wxWindow styles. This also updates the internal variable
     // Therefore m_windowStyle bits carry now the _new_ style values