summaryrefslogtreecommitdiff
path: root/lib/wx/api_gen/wx_extra/added_func.h
blob: 28fecbf454f3aa242af1a79d5f89e39a58b771f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//  Added 3.0 functionality

class WXDLLIMPEXP_AUI wxAuiTabArt
{
public:
    virtual void SetColour(const wxColour& colour) = 0;
    virtual void SetActiveColour(const wxColour& colour) = 0;
};

// Api to get data out of paneinfo
class WXDLLIMPEXP_AUI wxAuiPaneInfo
{
 public:
    wxString GetName();
    wxString GetCaption();
    wxIcon GetIcon();

    wxWindow* GetWindow();
    wxFrame* GetFrame();

    int GetDirection();
    int GetLayer();
    int GetRow();
    int GetPosition();

    wxPoint GetFloatingPosition();
    wxSize GetFloatingSize();
};

class wxToolBar {
 public:
    wxToolBarToolBase * AddStretchableSpace();
    wxToolBarToolBase * InsertStretchableSpace(size_t pos);
};


/* class wxWindow { */
/*  public: */
/*     bool IsDoubleBuffered(); */
/*     void SetDoubleBuffered(bool on); */
/* }; */

class wxWindowGTK {
 public:
    double GetContentScaleFactor();
};

class wxDisplay {
    public:
    // get the resolution of this monitor in pixels per inch
    wxSize GetPPI() const;
};