]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/radiobox.h
undid previous commit, the person who reported it retracted his claim
[wxWidgets.git] / include / wx / os2 / radiobox.h
index 0e6d7b022a3b0e69e3b47ab2273560c7245f42af..8b1e97a9c0beffb3b25a433ee675eaa5a1526031 100644 (file)
@@ -12,8 +12,6 @@
 #ifndef _WX_RADIOBOX_H_
 #define _WX_RADIOBOX_H_
 
-WXDLLEXPORT_DATA(extern const char*) wxRadioBoxNameStr;
-
 // List box item
 class WXDLLEXPORT wxBitmap ;
 
@@ -72,7 +70,7 @@ public:
 
     void             Command(wxCommandEvent& rEvent);
     bool             ContainsHWND(WXHWND hWnd) const;
-    bool             Enable(bool bEnable);
+    virtual bool     Enable(bool bEnable = TRUE);
     void             Enable( int  nItem
                             ,bool bEnable
                            );
@@ -89,7 +87,7 @@ public:
                                 ,WXWORD wId
                                );
     void             SendNotificationEvent(void);
-    void             Show( int  nItem
+    virtual void     Show( int  nItem
                           ,bool bShow =  TRUE
                          ) ;
     bool             Show(bool bShow);
@@ -115,12 +113,12 @@ public:
                    void     GetSize( int* pnX
                                     ,int* pnY
                                    ) const;
-                   void     GetSizeFlags(void) const;
+    inline         int      GetSizeFlags(void) const { return m_nSizeFlags; }
                    void     AdjustButtons( int nX
                                           ,int nY
                                           ,int nWidth
                                           ,int nHeight
-                                          ,int lSizeFlags
+                                          ,int nSizeFlags
                                          );
                    wxString GetString(int nIndex) const;
            virtual wxString GetStringSelection(void) const;
@@ -146,12 +144,6 @@ public:
 
 
 protected:
-            void   AdjustButtons( int  nX
-                               ,int  nY
-                               ,int  nWidth
-                               ,int  nHeight
-                               ,long lSizeFlags
-                              );
     virtual wxSize DoGetBestSize(void) const;
     virtual void   DoSetSize( int nX
                              ,int nY