Trying to commit wxDirDialog patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -79,7 +79,15 @@ wxGenericDirDialog::wxGenericDirDialog(wxWindow* parent, const wxString& title,
|
||||
const wxString& defaultPath, long style,
|
||||
const wxPoint& pos, const wxSize& sz,
|
||||
const wxString& name):
|
||||
wxDialog(parent, ID_DIRCTRL, title, pos, sz, style, name)
|
||||
wxDirDialogBase(parent, title, defaultPath, style, pos, sz, name)
|
||||
{
|
||||
Create(parent, title, defaultPath, style, pos, sz, name);
|
||||
}
|
||||
|
||||
bool wxGenericDirDialog::Create(wxWindow* parent, const wxString& title,
|
||||
const wxString& defaultPath, long style,
|
||||
const wxPoint& pos, const wxSize& sz,
|
||||
const wxString& name)
|
||||
{
|
||||
wxBusyCursor cursor;
|
||||
|
||||
@@ -197,6 +205,8 @@ wxGenericDirDialog::wxGenericDirDialog(wxWindow* parent, const wxString& title,
|
||||
topsizer->Fit( this );
|
||||
|
||||
Centre( wxBOTH );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void wxGenericDirDialog::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
|
||||
|
||||
Reference in New Issue
Block a user