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:
Robert Roebling
2006-04-30 09:44:29 +00:00
parent dd70f7a2ad
commit b50747ea53
11 changed files with 386 additions and 72 deletions

View File

@@ -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))