add support for custom controls in file dialog in wxGTK and generic versions; also allow using generic dialogs in the sample with wxGTK2 (patch 1846837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -82,6 +82,7 @@ public:
|
||||
{ return m_filectrl->GetWildcard(); }
|
||||
virtual int GetFilterIndex() const
|
||||
{ return m_filectrl->GetFilterIndex(); }
|
||||
virtual bool SupportsExtraControl() const { return true; }
|
||||
|
||||
// implementation only from now on
|
||||
// -------------------------------
|
||||
@@ -113,6 +114,8 @@ protected:
|
||||
|
||||
private:
|
||||
void Init();
|
||||
wxBitmapButton* AddBitmapButton( wxWindowID winId, const wxArtID& artId,
|
||||
const wxString& tip, wxSizer *sizer );
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxGenericFileDialog)
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
Reference in New Issue
Block a user