X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/daa3eac94c219acca125c79177ac662961850929..47eea71e188b7b412f319e729c2a0d8f07eacaf9:/wxPython/src/msw/misc2.py diff --git a/wxPython/src/msw/misc2.py b/wxPython/src/msw/misc2.py index 9bb9b56c59..26c88e98f2 100644 --- a/wxPython/src/msw/misc2.py +++ b/wxPython/src/msw/misc2.py @@ -900,6 +900,24 @@ class wxMimeTypesManager(wxMimeTypesManagerPtr): +class wxArtProviderPtr(wxObjectPtr): + def __init__(self,this): + self.this = this + self.thisown = 0 + def _setCallbackInfo(self, *_args, **_kwargs): + val = apply(misc2c.wxArtProvider__setCallbackInfo,(self,) + _args, _kwargs) + return val + def __repr__(self): + return "" % (self.this,) +class wxArtProvider(wxArtProviderPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(misc2c.new_wxArtProvider,_args,_kwargs) + self.thisown = 1 + self._setCallbackInfo(self, wxArtProvider) + + + + class wxFileHistoryPtr(wxObjectPtr): def __init__(self,this): self.this = this @@ -1006,14 +1024,6 @@ def wxGetClientDisplayRect(*_args, **_kwargs): wxSetCursor = misc2c.wxSetCursor -def wxFindWindowByLabel(*_args, **_kwargs): - val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs) - return val - -def wxFindWindowByName(*_args, **_kwargs): - val = apply(misc2c.wxFindWindowByName,_args,_kwargs) - return val - wxBeginBusyCursor = misc2c.wxBeginBusyCursor def wxGetActiveWindow(*_args, **_kwargs): @@ -1109,6 +1119,14 @@ wxLogStatusFrame = misc2c.wxLogStatusFrame wxLogSysError = misc2c.wxLogSysError +wxLogTrace = misc2c.wxLogTrace + +wxLogTraceMask = misc2c.wxLogTraceMask + +wxLogGeneric = misc2c.wxLogGeneric + +wxSafeShowMessage = misc2c.wxSafeShowMessage + wxExecute = misc2c.wxExecute def wxWaveData(*_args, **_kwargs): @@ -1130,6 +1148,10 @@ wxSystemSettings_GetMetric = misc2c.wxSystemSettings_GetMetric wxSystemSettings_HasFeature = misc2c.wxSystemSettings_HasFeature +wxSystemSettings_GetScreenType = misc2c.wxSystemSettings_GetScreenType + +wxSystemSettings_SetScreenType = misc2c.wxSystemSettings_SetScreenType + wxToolTip_Enable = misc2c.wxToolTip_Enable wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay @@ -1180,6 +1202,24 @@ wxFileType_ExpandCommand = misc2c.wxFileType_ExpandCommand wxMimeTypesManager_IsOfType = misc2c.wxMimeTypesManager_IsOfType +wxArtProvider_PushProvider = misc2c.wxArtProvider_PushProvider + +wxArtProvider_PopProvider = misc2c.wxArtProvider_PopProvider + +wxArtProvider_RemoveProvider = misc2c.wxArtProvider_RemoveProvider + +def wxArtProvider_GetBitmap(*_args, **_kwargs): + val = apply(misc2c.wxArtProvider_GetBitmap,_args,_kwargs) + if val: val = wxBitmapPtr(val); val.thisown = 1 + return val + +def wxArtProvider_GetIcon(*_args, **_kwargs): + val = apply(misc2c.wxArtProvider_GetIcon,_args,_kwargs) + if val: val = wxIconPtr(val); val.thisown = 1 + return val + +wxArtProvider_CleanUpProviders = misc2c.wxArtProvider_CleanUpProviders + #-------------- VARIABLE WRAPPERS ------------------ @@ -1270,10 +1310,10 @@ wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS wxSYS_CAN_DRAW_FRAME_DECORATIONS = misc2c.wxSYS_CAN_DRAW_FRAME_DECORATIONS wxSYS_CAN_ICONIZE_FRAME = misc2c.wxSYS_CAN_ICONIZE_FRAME wxSYS_SCREEN_NONE = misc2c.wxSYS_SCREEN_NONE -wxSYS_SCREEN_DESKTOP = misc2c.wxSYS_SCREEN_DESKTOP -wxSYS_SCREEN_SMALL = misc2c.wxSYS_SCREEN_SMALL -wxSYS_SCREEN_PDA = misc2c.wxSYS_SCREEN_PDA wxSYS_SCREEN_TINY = misc2c.wxSYS_SCREEN_TINY +wxSYS_SCREEN_PDA = misc2c.wxSYS_SCREEN_PDA +wxSYS_SCREEN_SMALL = misc2c.wxSYS_SCREEN_SMALL +wxSYS_SCREEN_DESKTOP = misc2c.wxSYS_SCREEN_DESKTOP wxLOG_FatalError = misc2c.wxLOG_FatalError wxLOG_Error = misc2c.wxLOG_Error wxLOG_Warning = misc2c.wxLOG_Warning @@ -1284,11 +1324,28 @@ wxLOG_Debug = misc2c.wxLOG_Debug wxLOG_Trace = misc2c.wxLOG_Trace wxLOG_Progress = misc2c.wxLOG_Progress wxLOG_User = misc2c.wxLOG_User +wxTRACE_MemAlloc = misc2c.wxTRACE_MemAlloc +wxTRACE_Messages = misc2c.wxTRACE_Messages +wxTRACE_ResAlloc = misc2c.wxTRACE_ResAlloc +wxTRACE_RefCount = misc2c.wxTRACE_RefCount +wxTRACE_OleCalls = misc2c.wxTRACE_OleCalls +wxTraceMemAlloc = misc2c.wxTraceMemAlloc +wxTraceMessages = misc2c.wxTraceMessages +wxTraceResAlloc = misc2c.wxTraceResAlloc +wxTraceRefCount = misc2c.wxTraceRefCount +wxTraceOleCalls = misc2c.wxTraceOleCalls wxEVT_END_PROCESS = misc2c.wxEVT_END_PROCESS wxEXEC_ASYNC = misc2c.wxEXEC_ASYNC wxEXEC_SYNC = misc2c.wxEXEC_SYNC wxEXEC_NOHIDE = misc2c.wxEXEC_NOHIDE wxEXEC_MAKE_GROUP_LEADER = misc2c.wxEXEC_MAKE_GROUP_LEADER +wxJOYSTICK1 = misc2c.wxJOYSTICK1 +wxJOYSTICK2 = misc2c.wxJOYSTICK2 +wxJOY_BUTTON_ANY = misc2c.wxJOY_BUTTON_ANY +wxJOY_BUTTON1 = misc2c.wxJOY_BUTTON1 +wxJOY_BUTTON2 = misc2c.wxJOY_BUTTON2 +wxJOY_BUTTON3 = misc2c.wxJOY_BUTTON3 +wxJOY_BUTTON4 = misc2c.wxJOY_BUTTON4 wxMAILCAP_STANDARD = misc2c.wxMAILCAP_STANDARD wxMAILCAP_NETSCAPE = misc2c.wxMAILCAP_NETSCAPE wxMAILCAP_KDE = misc2c.wxMAILCAP_KDE @@ -1296,3 +1353,40 @@ wxMAILCAP_GNOME = misc2c.wxMAILCAP_GNOME wxMAILCAP_ALL = misc2c.wxMAILCAP_ALL cvar = misc2c.cvar wxTheMimeTypesManager = wxMimeTypesManagerPtr(misc2c.cvar.wxTheMimeTypesManager) +wxART_TOOLBAR = misc2c.wxART_TOOLBAR +wxART_MENU = misc2c.wxART_MENU +wxART_FRAME_ICON = misc2c.wxART_FRAME_ICON +wxART_CMN_DIALOG = misc2c.wxART_CMN_DIALOG +wxART_HELP_BROWSER = misc2c.wxART_HELP_BROWSER +wxART_MESSAGE_BOX = misc2c.wxART_MESSAGE_BOX +wxART_OTHER = misc2c.wxART_OTHER +wxART_ADD_BOOKMARK = misc2c.wxART_ADD_BOOKMARK +wxART_DEL_BOOKMARK = misc2c.wxART_DEL_BOOKMARK +wxART_HELP_SIDE_PANEL = misc2c.wxART_HELP_SIDE_PANEL +wxART_HELP_SETTINGS = misc2c.wxART_HELP_SETTINGS +wxART_HELP_BOOK = misc2c.wxART_HELP_BOOK +wxART_HELP_FOLDER = misc2c.wxART_HELP_FOLDER +wxART_HELP_PAGE = misc2c.wxART_HELP_PAGE +wxART_GO_BACK = misc2c.wxART_GO_BACK +wxART_GO_FORWARD = misc2c.wxART_GO_FORWARD +wxART_GO_UP = misc2c.wxART_GO_UP +wxART_GO_DOWN = misc2c.wxART_GO_DOWN +wxART_GO_TO_PARENT = misc2c.wxART_GO_TO_PARENT +wxART_GO_HOME = misc2c.wxART_GO_HOME +wxART_FILE_OPEN = misc2c.wxART_FILE_OPEN +wxART_PRINT = misc2c.wxART_PRINT +wxART_HELP = misc2c.wxART_HELP +wxART_TIP = misc2c.wxART_TIP +wxART_REPORT_VIEW = misc2c.wxART_REPORT_VIEW +wxART_LIST_VIEW = misc2c.wxART_LIST_VIEW +wxART_NEW_DIR = misc2c.wxART_NEW_DIR +wxART_FOLDER = misc2c.wxART_FOLDER +wxART_GO_DIR_UP = misc2c.wxART_GO_DIR_UP +wxART_EXECUTABLE_FILE = misc2c.wxART_EXECUTABLE_FILE +wxART_NORMAL_FILE = misc2c.wxART_NORMAL_FILE +wxART_TICK_MARK = misc2c.wxART_TICK_MARK +wxART_CROSS_MARK = misc2c.wxART_CROSS_MARK +wxART_ERROR = misc2c.wxART_ERROR +wxART_QUESTION = misc2c.wxART_QUESTION +wxART_WARNING = misc2c.wxART_WARNING +wxART_INFORMATION = misc2c.wxART_INFORMATION