Changes corresponding to patch #841324 from Ian Brown:
"GetPosition() returns wrong result for dialog". Moved implementation from wxFrame to wxTopLevelWindow thus sharing it between wxFrame and wxDialog. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -111,7 +111,6 @@ private:
|
||||
bool m_iconized;
|
||||
|
||||
virtual void DoGetSize(int *width, int *height) const;
|
||||
virtual void DoGetPosition(int *x, int *y) const;
|
||||
virtual void DoSetSize(int x, int y,
|
||||
int width, int height,
|
||||
int sizeFlags = wxSIZE_AUTO);
|
||||
|
@@ -69,6 +69,7 @@ protected:
|
||||
// common part of wxDialog/wxFrame destructors
|
||||
void PreDestroy();
|
||||
|
||||
virtual void DoGetPosition(int* x, int* y) const;
|
||||
private:
|
||||
// both these functions should be pure virtual
|
||||
virtual bool DoCreate( wxWindow* parent, wxWindowID id,
|
||||
|
Reference in New Issue
Block a user