| 1 |
#ifndef FILEPICKERCTRL_H |
| 2 |
#define FILEPICKERCTRL_H |
| 3 |
|
| 4 |
#include <wx/textctrl.h> |
| 5 |
|
| 6 |
extern const wxEventType wxEVT_FILE_PICKED; |
| 7 |
|
| 8 |
class FilePickerCtrl : public wxTextCtrl |
| 9 |
{ |
| 10 |
wxString m_bmpPath; |
| 11 |
wxString m_projectPath; |
| 12 |
|
| 13 |
protected: |
| 14 |
virtual void OnTextEnter(wxCommandEvent& event); |
| 15 |
virtual void OnMouseLeft(wxMouseEvent& event); |
| 16 |
|
| 17 |
void DoEdit(); |
| 18 |
void DoNotify(); |
| 19 |
|
| 20 |
public: |
| 21 |
FilePickerCtrl(wxWindow* parent, const wxString& projectPath, const wxString& value); |
| 22 |
virtual ~FilePickerCtrl(); |
| 23 |
}; |
| 24 |
|
| 25 |
#endif // FILEPICKERCTRL_H |