]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/radiobox.h
Added mouse wheel support for MSW. It generates a wxMouseEvent with a
[wxWidgets.git] / include / wx / msw / radiobox.h
index 8a98bb0a88b5e85a26e3b81949fa5127d67ba6f5..471ca12608dbc07f00c58b8a6e5d384741a75bf8 100644 (file)
@@ -100,8 +100,15 @@ public:
 #endif // WXWIN_COMPATIBILITY
 
 protected:
+    // subclass one radio button
     void SubclassRadioButton(WXHWND hWndBtn);
 
+    // get the max size of radio buttons
+    wxSize GetMaxButtonSize() const;
+
+    // get the total size occupied by the radio box buttons
+    wxSize GetTotalButtonSize(const wxSize& sizeBtn) const;
+
     WXHWND *          m_radioButtons;
     int               m_majorDim;
     int *             m_radioWidth;  // for bitmaps
@@ -114,6 +121,7 @@ protected:
     virtual void DoSetSize(int x, int y,
                            int width, int height,
                            int sizeFlags = wxSIZE_AUTO);
+    virtual wxSize DoGetBestSize() const;
 };
 
 #endif