correct access for virtuals, unneeded includes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2006-06-03 19:20:23 +00:00
parent 8ea30e3603
commit c757b5fee0
16 changed files with 43 additions and 58 deletions

View File

@@ -13,7 +13,6 @@
#define _WX_FILEDIRPICKER_H_
#include "wx/button.h"
#include "wx/filename.h"
#include "wx/filedlg.h"
#include "wx/dirdlg.h"
@@ -136,12 +135,14 @@ public: // overrideable
return p;
}
wxEventType GetEventType() const
{ return wxEVT_COMMAND_FILEPICKER_CHANGED; }
protected:
void UpdateDialogPath(wxDialog *p)
{ wxStaticCast(p, wxFileDialog)->SetPath(m_path); }
void UpdatePathFromDialog(wxDialog *p)
{ m_path = wxStaticCast(p, wxFileDialog)->GetPath(); }
wxEventType GetEventType() const
{ return wxEVT_COMMAND_FILEPICKER_CHANGED; }
private:
DECLARE_DYNAMIC_CLASS(wxGenericFileButton)
@@ -193,12 +194,14 @@ public: // overrideable
GetDialogStyle());
}
wxEventType GetEventType() const
{ return wxEVT_COMMAND_DIRPICKER_CHANGED; }
protected:
void UpdateDialogPath(wxDialog *p)
{ wxStaticCast(p, wxDirDialog)->SetPath(m_path); }
void UpdatePathFromDialog(wxDialog *p)
{ m_path = wxStaticCast(p, wxDirDialog)->GetPath(); }
wxEventType GetEventType() const
{ return wxEVT_COMMAND_DIRPICKER_CHANGED; }
private:
DECLARE_DYNAMIC_CLASS(wxGenericDirButton)