X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c746b747074dba438ac1c06b612184aaad7c7dc6..b7527dde394466affd11a1119b030bcd985fd089:/include/wx/radiobox.h diff --git a/include/wx/radiobox.h b/include/wx/radiobox.h index ed60e202b8..de331d09dc 100644 --- a/include/wx/radiobox.h +++ b/include/wx/radiobox.h @@ -20,13 +20,13 @@ #include "wx/dynarray.h" -class WXDLLEXPORT wxToolTip; +class WXDLLIMPEXP_FWD_CORE wxToolTip; WX_DEFINE_EXPORTED_ARRAY_PTR(wxToolTip *, wxToolTipArray); #endif // wxUSE_TOOLTIPS -extern WXDLLEXPORT_DATA(const wxChar) wxRadioBoxNameStr[]; +extern WXDLLEXPORT_DATA(const char) wxRadioBoxNameStr[]; // ---------------------------------------------------------------------------- // wxRadioBoxBase is not a normal base class, but rather a mix-in because the @@ -84,26 +84,20 @@ public: } - // deprecated functions - // -------------------- - -#if WXWIN_COMPATIBILITY_2_4 - wxDEPRECATED( int GetNumberOfRowsOrCols() const ); - wxDEPRECATED( void SetNumberOfRowsOrCols(int n) ); -#endif // WXWIN_COMPATIBILITY_2_4 - protected: wxRadioBoxBase() { + m_numCols = + m_numRows = m_majorDim = 0; - m_numCols = 0; - m_numRows = 0; #if wxUSE_TOOLTIPS m_itemsTooltips = NULL; #endif // wxUSE_TOOLTIPS } + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } + // return the number of items in major direction (which depends on whether // we have wxRA_SPECIFY_COLS or wxRA_SPECIFY_ROWS style) unsigned int GetMajorDim() const { return m_majorDim; }