]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/radiobox.h
don't use a floating point value as a boolean flag; gcc4 (correctly) complains when...
[wxWidgets.git] / include / wx / os2 / radiobox.h
index 62c01f9f50b2a17bf0eafecda03b198bed0e668e..ebf2e10444ba814f9602a1fa9c1f030c1c13bde1 100644 (file)
@@ -1,12 +1,12 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        radiobox.h
+// Name:        wx/os2/radiobox.h
 // Purpose:     wxRadioBox class
 // Author:      David Webster
 // Modified by:
 // Created:     10/12/99
 // RCS-ID:      $Id$
 // Copyright:   (c) David Webster
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_RADIOBOX_H_
@@ -99,13 +99,10 @@ public:
                 ,const wxString&      rsName = wxRadioBoxNameStr
                );
 
-    void             Command(wxCommandEvent& rEvent);
-    bool             ContainsHWND(WXHWND hWnd) const;
-    virtual bool     Enable(bool bEnable = TRUE);
-    void             Enable( int  nItem
-                            ,bool bEnable
-                           );
-    int              FindString(const wxString& sStr) const;
+    void Command(wxCommandEvent& rEvent);
+    bool ContainsHWND(WXHWND hWnd) const;
+    virtual bool Enable(bool bEnable = true);
+    virtual bool Enable(int  nItem, bool bEnable = true);
 
     virtual WXHBRUSH OnCtlColor( WXHDC    hDC
                                 ,WXHWND   hWnd
@@ -118,10 +115,8 @@ public:
                                 ,WXWORD wId
                                );
     void             SendNotificationEvent(void);
-    virtual void     Show( int  nItem
-                          ,bool bShow =  TRUE
-                         ) ;
-    bool             Show(bool bShow);
+    virtual bool     Show(int  nItem, bool bShow = true);
+    virtual bool     Show(bool bShow = true);
     MRESULT          WindowProc( WXUINT   uMsg
                                 ,WXWPARAM wParam
                                 ,WXLPARAM lParam