// 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 __CHOICEH__
-#define __CHOICEH__
+#ifndef _WX_CHOICE_H_
+#define _WX_CHOICE_H_
#ifdef __GNUG__
#pragma interface "choice.h"
DECLARE_DYNAMIC_CLASS(wxChoice)
public:
- int no_strings;
-
- inline wxChoice(void) { no_strings = 0; }
+ inline wxChoice(void) { m_noStrings = 0; }
inline wxChoice(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
virtual wxString GetStringSelection(void) const ;
virtual bool SetStringSelection(const wxString& sel);
- virtual inline int Number(void) const { return no_strings; }
+ virtual inline int Number(void) const { return m_noStrings; }
virtual void Command(wxCommandEvent& event);
virtual bool MSWCommand(WXUINT param, WXWORD id);
WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
+
+protected:
+ int m_noStrings;
+
};
#endif
- // __CHOICEH__
+ // _WX_CHOICE_H_