Some updates and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -365,12 +365,14 @@ public:
|
||||
// I'll do it this way to use long-lived objects and not have to
|
||||
// worry about when python may delete the object.
|
||||
%addmethods {
|
||||
wxBrush(wxColour* colour, int style=wxSOLID) {
|
||||
wxBrush(const wxColour* colour, int style=wxSOLID) {
|
||||
return wxTheBrushList->FindOrCreateBrush(*colour, style);
|
||||
}
|
||||
// NO Destructor.
|
||||
}
|
||||
|
||||
// wxBrush(const wxColour& colour, int style=wxSOLID);
|
||||
|
||||
wxColour& GetColour();
|
||||
wxBitmap * GetStipple();
|
||||
int GetStyle();
|
||||
@@ -522,8 +524,8 @@ class wxScreenDC : public wxDC {
|
||||
public:
|
||||
wxScreenDC();
|
||||
|
||||
bool StartDrawingOnTop(wxWindow* window);
|
||||
%name(StartDrawingOnTopRect) bool StartDrawingOnTop(wxRect* rect = NULL);
|
||||
%name(StartDrawingOnTopWin) bool StartDrawingOnTop(wxWindow* window);
|
||||
bool StartDrawingOnTop(wxRect* rect = NULL);
|
||||
bool EndDrawingOnTop();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user