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:
@@ -384,10 +384,12 @@ bool wxTopLevelWindowMSW::CreateDialog(const void *dlgTemplate,
|
|||||||
y = (sizeDpy.y - h) / 2;
|
y = (sizeDpy.y - h) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __WXWINCE__
|
||||||
if ( !::MoveWindow(GetHwnd(), x, y, w, h, FALSE) )
|
if ( !::MoveWindow(GetHwnd(), x, y, w, h, FALSE) )
|
||||||
{
|
{
|
||||||
wxLogLastError(wxT("MoveWindow"));
|
wxLogLastError(wxT("MoveWindow"));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if ( !title.empty() )
|
if ( !title.empty() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user