1 #ifndef _wxwidgets_filenamebox__hpp__included__
2 #define _wxwidgets_filenamebox__hpp__included__
8 //No notification on filename change.
12 //Peek inside .zip files.
18 class filenamebox
: public wxEvtHandler
21 filenamebox(wxSizer
* sizer
, wxWindow
* parent
, const std::string
& initial_label
, int flags
,
22 wxEvtHandler
* dispatch_to
, wxObjectEventFunction on_fn_change
);
26 void change_label(const std::string
& new_label
);
27 void enable(const std::string
& new_label
);
29 std::string
get_file();
30 void on_file_select(wxCommandEvent
& e
);
32 bool is_nonblank_or_disabled();
36 std::string last_label
;
40 wxButton
* file_select
;