ToolMap
Loading...
Searching...
No Matches
wxdirpickerctrlbest.h
1
/***************************************************************************
2
wxdirpickerctrlbest.h
3
Upgrade a wxDirPickerCtrl control for TM
4
-------------------
5
copyright : (C) 2007 CREALP Lucien Schreiber
6
***************************************************************************/
7
8
/***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
#ifndef _WX_DIRPICKERCTRL_BEST_
17
#define _WX_DIRPICKERCTRL_BEST_
18
19
#include <wx/wxprec.h>
20
21
#ifndef WX_PRECOMP
22
#include <wx/wx.h>
23
#endif
24
25
#include <wx/filepicker.h>
26
27
/***************************************************************************/
33
enum
PATH_ERROR {
34
PATH_OK = 0,
35
PATH_EMPTY = 1,
36
PATH_INVALID = 2,
37
PATH_DATABASE_ERROR = 4
38
};
39
40
class
wxDirPickerCtrlBest
:
public
wxDirPickerCtrl {
41
public
:
42
wxDirPickerCtrlBest
(wxWindow* parent, wxWindowID
id
,
const
wxString& path = wxEmptyString,
43
const
wxString& message = _(
"Select a folder"
),
const
wxPoint& pos = wxDefaultPosition,
44
const
wxSize& size = wxDefaultSize,
long
style = wxDIRP_USE_TEXTCTRL | wxDIRP_SMALL);
45
46
~wxDirPickerCtrlBest
();
47
48
void
SetPathWithError(PATH_ERROR flags,
const
wxString& spath);
49
};
50
51
#endif
wxDirPickerCtrlBest
Definition
wxdirpickerctrlbest.h:40
src
core
wxdirpickerctrlbest.h
Generated by
1.9.8