]> git.saurik.com Git - wxWidgets.git/commitdiff
wxTinderbox warning fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 15 Mar 2006 10:37:24 +0000 (10:37 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 15 Mar 2006 10:37:24 +0000 (10:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/toplevel.cpp

index 42eb2ca35082772b63506967c01dbf68748d2717..db1c6404ddceb978b7ee1da77f71c786177593fd 100644 (file)
@@ -1274,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