]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
typo fix
[wxWidgets.git] / src / msw / control.cpp
index 99c79bcaa3c0b00d5656068b2042f16d396482fe..2f1ae919e766a43d58a4bc5eb01a9eb1e2b2ca0c 100644 (file)
@@ -228,14 +228,7 @@ bool wxControl::MSWCreateControl(const wxChar *classname,
 
 wxBorder wxControl::GetDefaultBorder() const
 {
-    // we want to automatically give controls a sunken style (confusingly,
-    // it may not really mean sunken at all as we map it to WS_EX_CLIENTEDGE
-    // which is not sunken at all under Windows XP -- rather, just the default)
-#if defined(__POCKETPC__) || defined(__SMARTPHONE__)
-    return wxBORDER_SIMPLE;
-#else
-    return wxBORDER_SUNKEN;
-#endif
+       return GetDefaultBorderForControl();
 }
 
 WXDWORD wxControl::MSWGetStyle(long style, WXDWORD *exstyle) const