X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..521196a26a7089f37efaac22caaa1ea781d0d313:/include/wx/motif/window.h diff --git a/include/wx/motif/window.h b/include/wx/motif/window.h index d4cabf0cbc..01236fcb7e 100644 --- a/include/wx/motif/window.h +++ b/include/wx/motif/window.h @@ -175,10 +175,6 @@ protected: // event handlers (not virtual by design) void OnIdle(wxIdleEvent& event); - // Makes an adjustment to the window position (for example, a frame that has - // a toolbar that it manages itself). - virtual void AdjustForParentClientOrigin(int& x, int& y, int sizeFlags); - wxWindow *GetChild(int number) const { return GetChildren().Item(number)->GetData(); } @@ -198,7 +194,14 @@ protected: bool CanAddEventHandler() const { return m_canAddEventHandler; } void SetCanAddEventHandler(bool flag) { m_canAddEventHandler = flag; } - + + // See src/motif/window.cpp, near the top, for an explanation + // why this is necessary + void CanvasSetSizeIntr(int x, int y, int width, int height, + int sizeFlags, bool fromCtor); + void DoSetSizeIntr(int x, int y, + int width, int height, + int sizeFlags, bool fromCtor); public: WXPixmap GetBackingPixmap() const { return m_backingPixmap; } void SetBackingPixmap(WXPixmap pixmap) { m_backingPixmap = pixmap; } @@ -314,7 +317,6 @@ protected: virtual void DoSetClientSize(int width, int height); virtual void DoMoveWindow(int x, int y, int width, int height); virtual bool DoPopupMenu(wxMenu *menu, int x, int y); - virtual void DoCaptureMouse(); virtual void DoReleaseMouse();