]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobut.cpp
Add missing WXK constants for the control keys
[wxWidgets.git] / src / os2 / radiobut.cpp
index 81d6d4634423d7aa3ba546b5d4feafa95ad62725..3b85eff91d08aebf4030950b7c9d606d8c8793b9 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "wx/os2/private.h"
 
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-
 extern void  wxAssociateWinWithHandle( HWND         hWnd
                                       ,wxWindowOS2* pWin
                                      );
@@ -83,7 +81,7 @@ bool wxRadioButton::Create( wxWindow* pParent,
     if (HasFlag(wxCLIP_SIBLINGS))
         lSstyle |= WS_CLIPSIBLINGS;
 
-    if (!OS2CreateControl( _T("BUTTON")
+    if (!OS2CreateControl( wxT("BUTTON")
                           ,lSstyle
                           ,rPos
                           ,rSize
@@ -202,7 +200,7 @@ void wxRadioButton::SetValue( bool bValue )
         const wxWindowList&         rSiblings = GetParent()->GetChildren();
         wxWindowList::compatibility_iterator nodeThis = rSiblings.Find(this);
 
-        wxCHECK_RET(nodeThis, _T("radio button not a child of its parent?"));
+        wxCHECK_RET(nodeThis, wxT("radio button not a child of its parent?"));
 
         //
         // If it's not the first item of the group ...