source: filezilla/trunk/fuentes/src/interface/dialogex.h @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 3 years ago

First release to xenial

File size: 783 bytes
Line 
1#ifndef __DIALOGEX_H__
2#define __DIALOGEX_H__
3
4#include "wrapengine.h"
5
6class wxDialogEx : public wxDialog, public CWrapEngine
7{
8public:
9        bool Load(wxWindow *pParent, const wxString& name);
10
11        bool SetChildLabel(int id, const wxString& label, unsigned long maxLength = 0);
12        bool SetChildLabel(char const* id, const wxString& label, unsigned long maxLength = 0);
13        wxString GetChildLabel(int id);
14
15        virtual int ShowModal();
16
17        bool ReplaceControl(wxWindow* old, wxWindow* wnd);
18
19        static bool CanShowPopupDialog();
20protected:
21        virtual void InitDialog();
22
23        DECLARE_EVENT_TABLE()
24        virtual void OnChar(wxKeyEvent& event);
25        void OnMenuEvent(wxCommandEvent& event);
26
27#ifdef __WXMAC__
28        virtual bool ProcessEvent(wxEvent& event);
29#endif
30
31        static int m_shown_dialogs;
32};
33
34#endif //__DIALOGEX_H__
Note: See TracBrowser for help on using the repository browser.