reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-12-11 20:13:21 +00:00
parent 8fb6915941
commit 6235857802
9 changed files with 444 additions and 33 deletions

View File

@@ -3379,6 +3379,49 @@ SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
static const wxString wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr);
static const wxString wxPySearchCtrlNameStr(wxSearchCtrlNameStr);
#if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
// define a dummy class for builds that don't have wxSearchCtrl
enum {
wxEVT_COMMAND_SEARCHCTRL_CANCEL,
wxEVT_COMMAND_SEARCHCTRL_SEARCH
};
class wxSearchCtrl : public wxTextCtrl
{
public:
wxSearchCtrl() { wxPyRaiseNotImplemented(); }
wxSearchCtrl(wxWindow*, wxWindowID,
const wxString&,
const wxPoint&,
const wxSize&,
long style,
const wxValidator&,
const wxString& name)
{ wxPyRaiseNotImplemented(); }
bool Create( wxWindow*, wxWindowID,
const wxString&,
const wxPoint&,
const wxSize&,
long style,
const wxValidator&,
const wxString& name) {}
virtual void SetMenu( wxMenu* ) {}
virtual wxMenu* GetMenu() { return NULL; }
// get/set search options
// ----------------------
virtual void ShowSearchButton( bool ) {}
virtual bool IsSearchButtonVisible() const { return false; }
virtual void ShowCancelButton( bool ) {}
virtual bool IsCancelButtonVisible() const { return false; }
};
#endif
#ifdef __cplusplus
extern "C" {
#endif