replaced wxWindowGTK::m_isListBox with a virtual function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-05-31 14:00:01 +00:00
parent 6cad4f1b21
commit 3ae4c570c4
8 changed files with 48 additions and 34 deletions

View File

@@ -172,6 +172,11 @@ public:
// (i.e. in idle time, implemented in OnInternalIdle() ).
void GtkUpdateSize() { m_sizeSet = FALSE; }
// fix up the mouse event coords, used by wxListBox only so far
virtual void FixUpMouseEvent(GtkWidget * WXUNUSED(widget),
wxCoord& WXUNUSED(x),
wxCoord& WXUNUSED(y)) { }
// position and size of the window
int m_x, m_y;
int m_width, m_height;
@@ -252,7 +257,8 @@ public:
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS
// common part of all ctors (can't be virtual because called from ctor)
protected:
// common part of all ctors (not virtual because called from ctor)
void Init();
private: