%{
-#include "export.h"
+#include "wxPython.h"
#include "dllwidget.h"
%}
%extern windows.i
%extern _defs.i
+//----------------------------------------------------------------------
+
+%{
+ // Put some wx default wxChar* values into wxStrings.
+ static const wxString wxPyEmptyString(wxT(""));
+%}
+
//---------------------------------------------------------------------------
/*
public:
wxDllWidget(wxWindow *parent,
wxWindowID id = -1,
- const wxString& dllName = wxEmptyString,
- const wxString& className = wxEmptyString,
+ const wxString& dllName = wxPyEmptyString,
+ const wxString& className = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0);
bool Ok();
- int SendCommand(int cmd, const wxString& param = wxEmptyString);
+ int SendCommand(int cmd, const wxString& param = wxPyEmptyString);
wxWindow* GetWidgetWindow();
static wxString GetDllExt();
%init %{
- wxClassInfo::CleanUpClasses();
- wxClassInfo::InitializeClasses();
-
%}