wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -129,7 +129,7 @@ class PropsTree: public wxRemotelyScrolledTreeCtrl
|
||||
wxRect bounding;
|
||||
GetBoundingRect(id, bounding);
|
||||
|
||||
m_EditCtrl->Move(wxDefaultPosition.x, bounding.y);
|
||||
m_EditCtrl->Move(wxDefaultCoord, bounding.y);
|
||||
}
|
||||
|
||||
PropEditCtrl *m_EditCtrl;
|
||||
@@ -245,7 +245,7 @@ PropertiesFrame::PropertiesFrame()
|
||||
m_tree->SetCompanionWindow(m_valueWindow);
|
||||
|
||||
wxConfigBase *cfg = wxConfigBase::Get();
|
||||
SetSize(wxRect(wxPoint(cfg->Read(_T("propertiesframe_x"), wxDefaultPosition.x), cfg->Read(_T("propertiesframe_y"), wxDefaultPosition.y)),
|
||||
SetSize(wxRect(wxPoint(cfg->Read(_T("propertiesframe_x"), wxDefaultCoord), cfg->Read(_T("propertiesframe_y"), wxDefaultCoord)),
|
||||
wxSize(cfg->Read(_T("propertiesframe_w"), 200), cfg->Read(_T("propertiesframe_h"), 200))));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user