Do not set size of PocketPC dialogs upon
startup, let the SHInitDialog() code do that following the Interface guidelines. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0fc58b86fb
commit
28c191aa0f
@ -384,10 +384,12 @@ bool wxTopLevelWindowMSW::CreateDialog(const void *dlgTemplate,
|
||||
y = (sizeDpy.y - h) / 2;
|
||||
}
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
if ( !::MoveWindow(GetHwnd(), x, y, w, h, FALSE) )
|
||||
{
|
||||
wxLogLastError(wxT("MoveWindow"));
|
||||
}
|
||||
#endif
|
||||
|
||||
if ( !title.empty() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user