Add implementation for pure virtual method.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2005-02-26 15:51:46 +00:00
parent f29aaf78dc
commit 53ce655c5b
2 changed files with 11 additions and 2 deletions

View File

@ -97,7 +97,9 @@ public:
// Accept files for dragging
virtual void DragAcceptFiles(bool accept);
virtual wxPoint GetClientAreaOrigin() const;
// Get the unique identifier of a window
virtual WXWidget GetHandle() const { return GetMainWidget(); }
@ -291,7 +293,7 @@ protected:
virtual bool DoPopupMenu(wxMenu *menu, int x, int y);
virtual void DoCaptureMouse();
virtual void DoReleaseMouse();
#if wxUSE_TOOLTIPS
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS

View File

@ -1372,6 +1372,13 @@ void wxWindow::DoSetClientSize(int width, int height)
XtVaSetValues(widget, XmNheight, height, NULL);
}
// For implementation purposes - sometimes decorations make the client area
// smaller
wxPoint wxWindow::GetClientAreaOrigin() const
{
return wxPoint(0, 0);
}
void wxWindow::DoMoveWindowIntr(int xx, int yy, int w, int h,
int flags)
{