GetSize() and GetClientSize() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -335,19 +335,13 @@ XtVaGetValues((Widget) m_mainWidget, XmNiconic, &iconic, NULL);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void wxDialog::SetSize(int x, int y, int width, int height, int sizeFlags)
|
||||
void wxDialog::DoSetSize(int x, int y, int width, int height, int sizeFlags)
|
||||
{
|
||||
XtVaSetValues((Widget) m_mainWidget, XmNresizePolicy, XmRESIZE_ANY, NULL);
|
||||
wxWindow::SetSize(x, y, width, height, sizeFlags);
|
||||
wxWindow::DoSetSize(x, y, width, height, sizeFlags);
|
||||
XtVaSetValues((Widget) m_mainWidget, XmNresizePolicy, XmRESIZE_NONE, NULL);
|
||||
}
|
||||
|
||||
void wxDialog::SetClientSize(int width, int height)
|
||||
{
|
||||
SetSize(-1, -1, width, height);
|
||||
}
|
||||
|
||||
|
||||
void wxDialog::SetTitle(const wxString& title)
|
||||
{
|
||||
m_dialogTitle = title;
|
||||
|
Reference in New Issue
Block a user