]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
finally reverted patch 782947 completely, it is broken; added just a check that id...
[wxWidgets.git] / src / os2 / window.cpp
index a58a694e85d375fda42066ace17047587caa0a6e..71d6eca0f9bcbd4951700884e45e1f9957477252 100644 (file)
@@ -3188,7 +3188,7 @@ bool wxWindowOS2::OS2Create(
     // which is the same but without CS_[HV]REDRAW class styles so using it
     // ensures that the window is not fully repainted on each resize
     //
-    if (GetWindowStyleFlag() & wxNO_FULL_REPAINT_ON_RESIZE)
+    if (!HasStyle(wxFULL_REPAINT_ON_RESIZE))
     {
         sClassName += wxT("NR");
     }