]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
don't do anything before including the PCH header
[wxWidgets.git] / src / common / wincmn.cpp
index a48533d9689d1448a0e2811879f689ea18e4902a..307f2c1c640200262486557dbbb17fec493e2ea5 100644 (file)
@@ -2415,6 +2415,10 @@ wxBorder wxWindowBase::GetBorder(long flags) const
     {
         border = GetDefaultBorder();
     }
+    else if ( border == wxBORDER_THEME )
+    {
+        border = GetDefaultBorderForControl();
+    }
 
     return border;
 }