Prevent unnecessary assert when someone tries to

move the native file dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2005-04-25 19:13:28 +00:00
parent 657a7545e0
commit 5b2e23bff6
4 changed files with 30 additions and 0 deletions

View File

@@ -267,6 +267,14 @@ bool wxFileDialog::Show( bool show )
return wxGenericFileDialog::Show( show );
}
void wxFileDialog::DoSetSize(int x, int y, int width, int height, int sizeFlags )
{
if (!m_wxwindow)
return;
else
wxGenericFileDialog::DoSetSize( x, y, width, height, sizeFlags );
}
wxString wxFileDialog::GetPath() const
{
#ifdef __WXGTK24__