// same as DoSetSize() for the client size
virtual void DoSetClientSize(int width, int height);
virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
+ virtual WXWidget GetHandle() const;
// ---------------------------------------------------------------------------
// wxWindowBase virtual implementations that need to be overriden
// on a listbox)
virtual void OnDefaultAction(wxControl *initiatingItem);
+ // EventHandlers
void OnEraseBackground(wxEraseEvent& event);
void OnChar(wxKeyEvent& event);
void OnKeyDown(wxKeyEvent& event);
DECLARE_EVENT_TABLE()
private:
- void Init();
- void PMDetachWindowMenu();
+ void Init();
+ void PMDetachWindowMenu();
+ WXHWND GetHwnd() const { return m_hWnd; }
+ void SetHwnd(WXHWND hWnd) { m_hWnd = hWnd; }
};
////////////////////////////////////////////////////////////////////////