const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxChoiceNameStr);
- virtual void DoDeleteOneItem(unsigned int n);
- virtual void DoClear();
-
virtual unsigned int GetCount() const ;
virtual int GetSelection() const ;
virtual void SetSelection(int n);
virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ;
protected:
+ virtual void DoDeleteOneItem(unsigned int n);
+ virtual void DoClear();
+
virtual wxSize DoGetBestSize() const ;
virtual int DoInsertItems(const wxArrayStringsAdapter& items,
unsigned int pos,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxComboBoxNameStr);
- // List functions
- virtual void DoDeleteOneItem(unsigned int n);
- virtual void DoClear();
-
virtual int GetSelection() const;
virtual void SetSelection(int n);
virtual int FindString(const wxString& s, bool bCase = false) const;
virtual bool CanUndo() const;
virtual bool CanRedo() const;
+ virtual wxClientDataType GetClientDataType() const;
+
wxInt32 MacControlHit( WXEVENTHANDLERREF handler, WXEVENTREF event );
wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST
// common part of all ctors
void Init();
+ // List functions
+ virtual void DoDeleteOneItem(unsigned int n);
+ virtual void DoClear();
+
// override the base class virtuals involved in geometry calculations
virtual wxSize DoGetBestSize() const;
virtual void DoMoveWindow(int x, int y, int width, int height);
virtual void DoSetItemClientData(unsigned int n, void* clientData);
virtual void * DoGetItemClientData(unsigned int n) const;
- virtual wxClientDataType GetClientDataType() const;
virtual void SetClientDataType(wxClientDataType clientDataItemsType);
// the subcontrols
// may be called to terminate the dialog with the given return code
virtual void EndModal(int retCode);
- // mac also takes command-period as cancel
- virtual bool IsEscapeKey(const wxKeyEvent& event);
-
// implementation
// --------------
// show modal dialog and enter modal loop
void DoShowModal();
+protected:
+ // mac also takes command-period as cancel
+ virtual bool IsEscapeKey(const wxKeyEvent& event);
+
private:
void Init();
// implement base class pure virtuals
virtual void Refresh(bool eraseBack = true, const wxRect *rect = NULL);
- virtual void DoClear();
- virtual void DoDeleteOneItem(unsigned int n);
virtual unsigned int GetCount() const;
virtual wxString GetString(unsigned int n) const;
wxMacListControl* GetPeer() const;
protected:
+ virtual void DoClear();
+ virtual void DoDeleteOneItem(unsigned int n);
+
// from wxItemContainer
virtual int DoInsertItems(const wxArrayStringsAdapter& items,
unsigned int pos,
virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ;
virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF mevent ) ;
+protected:
wxSize DoGetBestSize() const;
-protected:
int m_pageSize;
int m_viewSize;
int m_objectSize;
virtual void Lower();
virtual bool Show( bool show = true );
- virtual void DoEnable( bool enable );
- virtual void OnEnabled( bool enabled );
virtual void SetFocus();
const wxFont *theFont = NULL )
const;
protected:
+ virtual void DoEnable( bool enable );
+ virtual void OnEnabled( bool enabled );
virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
public:
virtual void SetScrollbar( int orient, int pos, int thumbVisible,