Debian Codegraph @

wxcrafter/top_level_windows/frame_wrapper.h

raw
1 #ifndef FRAMEWRAPPER_H
2 #define FRAMEWRAPPER_H
3
4 #include "top_level_win_wrapper.h" // Base class: TopLevelWinWrapper
5 #include <wx/gdicmn.h>
6
7 class FrameWrapper : public TopLevelWinWrapper
8 {
9 protected:
10 void GetIncludeFile(wxArrayString& headers) const;
11 virtual wxString BaseCtorImplPrefix() const;
12 virtual wxString BaseCtorDecl() const;
13 virtual wxString CppCtorCode() const;
14 virtual void LoadPropertiesFromXRC(const wxXmlNode* node);
15 virtual void LoadPropertiesFromwxFB(const wxXmlNode* node);
16 virtual void LoadPropertiesFromwxSmith(const wxXmlNode* node);
17
18 public:
19 virtual wxString GetDerivedClassCtorSignature() const;
20 virtual wxString GetParentCtorInitArgumentList() const;
21 virtual bool HasIcon() const;
22 FrameWrapper();
23 virtual ~FrameWrapper();
24 virtual void ToXRC(wxString& text, XRC_TYPE type) const;
25 /**
26 * @brief similar to ToXRC, however
27 * we replace the topwindow with a wxPanel
28 */
29 virtual wxString DesignerXRC(bool forPreviewDialog) const;
30
31 wxcWidget* Clone() const { return new FrameWrapper(); }
32
33 virtual wxString GetWxClassName() const;
34 };
35
36 #endif // FRAMEWRAPPER_H