// 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"
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) ;
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 ;
};
#endif
- // __RADIOBOXH__
+ // _WX_RADIOBOX_H_