SWIGged updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,6 +15,8 @@ from events import *
|
|||||||
|
|
||||||
from streams import *
|
from streams import *
|
||||||
|
|
||||||
|
from utils import *
|
||||||
|
|
||||||
from mdi import *
|
from mdi import *
|
||||||
|
|
||||||
from frames import *
|
from frames import *
|
||||||
@@ -39,8 +41,6 @@ from sizers import *
|
|||||||
|
|
||||||
from filesys import *
|
from filesys import *
|
||||||
|
|
||||||
from utils import *
|
|
||||||
|
|
||||||
def EVT_STC_CHANGE(win, id, func):
|
def EVT_STC_CHANGE(win, id, func):
|
||||||
win.Connect(id, -1, wxEVT_STC_CHANGE, func)
|
win.Connect(id, -1, wxEVT_STC_CHANGE, func)
|
||||||
|
|
||||||
|
@@ -190,13 +190,16 @@ public:
|
|||||||
{ m_dash = NULL; }
|
{ m_dash = NULL; }
|
||||||
~wxPyPen() {
|
~wxPyPen() {
|
||||||
if (m_dash)
|
if (m_dash)
|
||||||
delete m_dash;
|
delete [] m_dash;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetDashes(int nb_dashes, const wxDash *dash) {
|
void SetDashes(int nb_dashes, const wxDash *dash) {
|
||||||
|
if (m_dash)
|
||||||
|
delete [] m_dash;
|
||||||
m_dash = new wxDash[nb_dashes];
|
m_dash = new wxDash[nb_dashes];
|
||||||
for (int i=0; i<nb_dashes; i++)
|
for (int i=0; i<nb_dashes; i++) {
|
||||||
m_dash[i] = dash[i];
|
m_dash[i] = dash[i];
|
||||||
|
}
|
||||||
wxPen::SetDashes(nb_dashes, m_dash);
|
wxPen::SetDashes(nb_dashes, m_dash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -15,6 +15,8 @@ from events import *
|
|||||||
|
|
||||||
from streams import *
|
from streams import *
|
||||||
|
|
||||||
|
from utils import *
|
||||||
|
|
||||||
from mdi import *
|
from mdi import *
|
||||||
|
|
||||||
from frames import *
|
from frames import *
|
||||||
@@ -38,8 +40,6 @@ from printfw import *
|
|||||||
from sizers import *
|
from sizers import *
|
||||||
|
|
||||||
from filesys import *
|
from filesys import *
|
||||||
|
|
||||||
from utils import *
|
|
||||||
import wx
|
import wx
|
||||||
class wxHtmlLinkInfoPtr(wxObjectPtr):
|
class wxHtmlLinkInfoPtr(wxObjectPtr):
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
|
@@ -15,6 +15,8 @@ from events import *
|
|||||||
|
|
||||||
from streams import *
|
from streams import *
|
||||||
|
|
||||||
|
from utils import *
|
||||||
|
|
||||||
from mdi import *
|
from mdi import *
|
||||||
|
|
||||||
from frames import *
|
from frames import *
|
||||||
@@ -38,8 +40,6 @@ from printfw import *
|
|||||||
from sizers import *
|
from sizers import *
|
||||||
|
|
||||||
from filesys import *
|
from filesys import *
|
||||||
|
|
||||||
from utils import *
|
|
||||||
class wxHtmlBookRecordPtr :
|
class wxHtmlBookRecordPtr :
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
|
@@ -15,6 +15,8 @@ from events import *
|
|||||||
|
|
||||||
from streams import *
|
from streams import *
|
||||||
|
|
||||||
|
from utils import *
|
||||||
|
|
||||||
from mdi import *
|
from mdi import *
|
||||||
|
|
||||||
from frames import *
|
from frames import *
|
||||||
@@ -38,8 +40,6 @@ from printfw import *
|
|||||||
from sizers import *
|
from sizers import *
|
||||||
|
|
||||||
from filesys import *
|
from filesys import *
|
||||||
|
|
||||||
from utils import *
|
|
||||||
class wxPyAppPtr(wxEvtHandlerPtr):
|
class wxPyAppPtr(wxEvtHandlerPtr):
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
self.this = this
|
self.this = this
|
||||||
|
Reference in New Issue
Block a user