]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/control.cpp
Use our own getters and properties for wxVisualAttributes
[wxWidgets.git] / src / os2 / control.cpp
index 51eff786ee8367ce25756322c243caef4fbba3bb..09bf756b6f4e842414dd245a795b3488e1075e38 100644 (file)
@@ -227,7 +227,7 @@ WXDWORD wxControl::OS2GetStyle( long lStyle, WXDWORD* pdwExstyle ) const
 {
     long dwStyle = wxWindow::OS2GetStyle( lStyle, pdwExstyle );
 
-    if (AcceptsFocus())
+    if (AcceptsFocusFromKeyboard())
     {
         dwStyle |= WS_TABSTOP;
     }