]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/control.cpp
Only call use uppercase letter if control, alt, or shift is held down,
[wxWidgets.git] / src / os2 / control.cpp
index b7e9f82af744bcd12d7b907a5781d2d85fd6b50e..218236ec34efc16143182ea1cc57d73f5b4d9b67 100644 (file)
@@ -47,9 +47,7 @@ bool wxControl::Create(
 , const wxPoint&                    rPos
 , const wxSize&                     rSize
 , long                              lStyle
-#if wxUSE_VALIDATORS
 , const wxValidator&                rValidator
-#endif
 , const wxString&                   rsName
 )
 {
@@ -135,6 +133,8 @@ bool wxControl::OS2CreateControl(
         zClass = WC_BUTTON;
     else if ((strcmp(zClassname, "NOTEBOOK")) == 0)
         zClass = WC_NOTEBOOK;
+    else if ((strcmp(zClassname, "CONTAINER")) == 0)
+        zClass = WC_CONTAINER;
     dwStyle |= WS_VISIBLE;
 
     m_hWnd = (WXHWND)::WinCreateWindow( (HWND)GetHwndOf(pParent) // Parent window handle