X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..a43a4f9d4d4a7f107e81bc7de0c1eea729593ee2:/include/wx/msw/radiobox.h diff --git a/include/wx/msw/radiobox.h b/include/wx/msw/radiobox.h index 5cb2077a64..6d86bed742 100644 --- a/include/wx/msw/radiobox.h +++ b/include/wx/msw/radiobox.h @@ -5,12 +5,12 @@ // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __RADIOBOXH__ -#define __RADIOBOXH__ +#ifndef _WX_RADIOBOX_H_ +#define _WX_RADIOBOX_H_ #ifdef __GNUG__ #pragma interface "radiobox.h" @@ -93,9 +93,18 @@ public: void SetSelection(int N); int GetSelection(void) const; wxString GetString(int N) const; + void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + void GetSize(int *x, int *y) const; + wxSize GetSize() const { return wxWindow::GetSize(); } + void GetPosition(int *x, int *y) const; + wxPoint GetPosition() const { return wxWindow::GetPosition(); } + wxString GetLabel(void) const; void SetLabel(const wxString& label); void SetLabel(int item, const wxString& label) ; @@ -121,6 +130,8 @@ public: inline WXHWND *GetRadioButtons(void) const { return m_radioButtons; } bool ContainsHWND(WXHWND hWnd) const ; + long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + protected: WXHWND * m_radioButtons; int m_majorDim ; @@ -134,4 +145,4 @@ protected: }; #endif - // __RADIOBOXH__ + // _WX_RADIOBOX_H_