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