Changed wxMotif's wxWindow::Create so it does not call DoSetSize anymore;
now calling wxWindow::SetSize should call wxWindow::DoMoveWindow. As a result composite controls should work with Motif, too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -194,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; }
|
||||
|
Reference in New Issue
Block a user