Lots of changes for wxPython to start using many of the new featues in

wxWindows 2.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-07-24 00:28:34 +00:00
parent e4a7bbfc1e
commit 3ef86e32dd
61 changed files with 5696 additions and 1666 deletions

View File

@@ -33,6 +33,7 @@
#include <wx/mimetype.h>
#include <wx/snglinst.h>
#include <wx/effects.h>
#include <wx/sysopt.h>
%}
//----------------------------------------------------------------------
@@ -72,6 +73,9 @@ wxString wxFileSelector(const wxString& message = wxPyFileSelectorPromptStr,
wxWindow *parent = NULL,
int x = -1, int y = -1);
// TODO: wxFileSelectorEx
// Ask for filename to load
wxString wxLoadFileSelector(const wxString& what,
const wxString& extension,
@@ -341,6 +345,23 @@ public:
class wxSystemOptions : public wxObject
{
public:
wxSystemOptions() { }
// User-customizable hints to wxWindows or associated libraries
// These could also be used to influence GetSystem... calls, indeed
// to implement SetSystemColour/Font/Metric
static void SetOption(const wxString& name, const wxString& value);
%name(SetOptionInt)static void SetOption(const wxString& name, int value);
static wxString GetOption(const wxString& name) ;
static int GetOptionInt(const wxString& name) ;
static bool HasOption(const wxString& name) ;
};
//---------------------------------------------------------------------------
// wxToolTip