X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7e9d1b87f7fafedb7d7edc9be941b80f0059a01..395e0a70bad49a83c9c8eb7626b1e3dd2e5f10c5:/wxPython/src/mac/aui_wrap.cpp?ds=sidebyside diff --git a/wxPython/src/mac/aui_wrap.cpp b/wxPython/src/mac/aui_wrap.cpp index 3b97719d25..b5c18865cf 100644 --- a/wxPython/src/mac/aui_wrap.cpp +++ b/wxPython/src/mac/aui_wrap.cpp @@ -2464,65 +2464,65 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) /* -------- TYPES TABLE (BEGIN) -------- */ #define SWIGTYPE_p_char swig_types[0] -#define SWIGTYPE_p_form_ops_t swig_types[1] -#define SWIGTYPE_p_int swig_types[2] -#define SWIGTYPE_p_p_wxAuiFloatingFrame swig_types[3] -#define SWIGTYPE_p_p_wxAuiNotebook swig_types[4] -#define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[5] -#define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[6] -#define SWIGTYPE_p_p_wxColourDialog swig_types[7] -#define SWIGTYPE_p_p_wxControl swig_types[8] -#define SWIGTYPE_p_p_wxControlWithItems swig_types[9] -#define SWIGTYPE_p_p_wxDialog swig_types[10] -#define SWIGTYPE_p_p_wxDirDialog swig_types[11] -#define SWIGTYPE_p_p_wxFileDialog swig_types[12] -#define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[13] -#define SWIGTYPE_p_p_wxFontDialog swig_types[14] -#define SWIGTYPE_p_p_wxFrame swig_types[15] -#define SWIGTYPE_p_p_wxMDIChildFrame swig_types[16] -#define SWIGTYPE_p_p_wxMDIClientWindow swig_types[17] -#define SWIGTYPE_p_p_wxMDIParentFrame swig_types[18] -#define SWIGTYPE_p_p_wxMenuBar swig_types[19] -#define SWIGTYPE_p_p_wxMessageDialog swig_types[20] -#define SWIGTYPE_p_p_wxMiniFrame swig_types[21] -#define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[22] -#define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[23] -#define SWIGTYPE_p_p_wxPanel swig_types[24] -#define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[25] -#define SWIGTYPE_p_p_wxPopupWindow swig_types[26] -#define SWIGTYPE_p_p_wxPreviewCanvas swig_types[27] -#define SWIGTYPE_p_p_wxPreviewControlBar swig_types[28] -#define SWIGTYPE_p_p_wxPreviewFrame swig_types[29] -#define SWIGTYPE_p_p_wxProgressDialog swig_types[30] -#define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[31] -#define SWIGTYPE_p_p_wxPyPanel swig_types[32] -#define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[33] -#define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[34] -#define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[35] -#define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[36] -#define SWIGTYPE_p_p_wxPyVListBox swig_types[37] -#define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[38] -#define SWIGTYPE_p_p_wxPyWindow swig_types[39] -#define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[40] -#define SWIGTYPE_p_p_wxSashWindow swig_types[41] -#define SWIGTYPE_p_p_wxScrolledWindow swig_types[42] -#define SWIGTYPE_p_p_wxSimpleHtmlListBox swig_types[43] -#define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[44] -#define SWIGTYPE_p_p_wxSplashScreen swig_types[45] -#define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[46] -#define SWIGTYPE_p_p_wxSplitterWindow swig_types[47] -#define SWIGTYPE_p_p_wxStatusBar swig_types[48] -#define SWIGTYPE_p_p_wxTextEntryDialog swig_types[49] -#define SWIGTYPE_p_p_wxTipWindow swig_types[50] -#define SWIGTYPE_p_p_wxTopLevelWindow swig_types[51] -#define SWIGTYPE_p_p_wxWindow swig_types[52] -#define SWIGTYPE_p_unsigned_char swig_types[53] -#define SWIGTYPE_p_unsigned_int swig_types[54] -#define SWIGTYPE_p_unsigned_long swig_types[55] -#define SWIGTYPE_p_wxANIHandler swig_types[56] -#define SWIGTYPE_p_wxAcceleratorTable swig_types[57] -#define SWIGTYPE_p_wxActivateEvent swig_types[58] -#define SWIGTYPE_p_wxArrayString swig_types[59] +#define SWIGTYPE_p_double swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_p_wxAuiFloatingFrame swig_types[4] +#define SWIGTYPE_p_p_wxAuiNotebook swig_types[5] +#define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[6] +#define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[7] +#define SWIGTYPE_p_p_wxColourDialog swig_types[8] +#define SWIGTYPE_p_p_wxControl swig_types[9] +#define SWIGTYPE_p_p_wxControlWithItems swig_types[10] +#define SWIGTYPE_p_p_wxDialog swig_types[11] +#define SWIGTYPE_p_p_wxDirDialog swig_types[12] +#define SWIGTYPE_p_p_wxFileDialog swig_types[13] +#define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[14] +#define SWIGTYPE_p_p_wxFontDialog swig_types[15] +#define SWIGTYPE_p_p_wxFrame swig_types[16] +#define SWIGTYPE_p_p_wxMDIChildFrame swig_types[17] +#define SWIGTYPE_p_p_wxMDIClientWindow swig_types[18] +#define SWIGTYPE_p_p_wxMDIParentFrame swig_types[19] +#define SWIGTYPE_p_p_wxMenuBar swig_types[20] +#define SWIGTYPE_p_p_wxMessageDialog swig_types[21] +#define SWIGTYPE_p_p_wxMiniFrame swig_types[22] +#define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[23] +#define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[24] +#define SWIGTYPE_p_p_wxPanel swig_types[25] +#define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[26] +#define SWIGTYPE_p_p_wxPopupWindow swig_types[27] +#define SWIGTYPE_p_p_wxPreviewCanvas swig_types[28] +#define SWIGTYPE_p_p_wxPreviewControlBar swig_types[29] +#define SWIGTYPE_p_p_wxPreviewFrame swig_types[30] +#define SWIGTYPE_p_p_wxProgressDialog swig_types[31] +#define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[32] +#define SWIGTYPE_p_p_wxPyPanel swig_types[33] +#define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[34] +#define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[35] +#define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[36] +#define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[37] +#define SWIGTYPE_p_p_wxPyVListBox swig_types[38] +#define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[39] +#define SWIGTYPE_p_p_wxPyWindow swig_types[40] +#define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[41] +#define SWIGTYPE_p_p_wxSashWindow swig_types[42] +#define SWIGTYPE_p_p_wxScrolledWindow swig_types[43] +#define SWIGTYPE_p_p_wxSimpleHtmlListBox swig_types[44] +#define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[45] +#define SWIGTYPE_p_p_wxSplashScreen swig_types[46] +#define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[47] +#define SWIGTYPE_p_p_wxSplitterWindow swig_types[48] +#define SWIGTYPE_p_p_wxStatusBar swig_types[49] +#define SWIGTYPE_p_p_wxTextEntryDialog swig_types[50] +#define SWIGTYPE_p_p_wxTipWindow swig_types[51] +#define SWIGTYPE_p_p_wxTopLevelWindow swig_types[52] +#define SWIGTYPE_p_p_wxWindow swig_types[53] +#define SWIGTYPE_p_unsigned_char swig_types[54] +#define SWIGTYPE_p_unsigned_int swig_types[55] +#define SWIGTYPE_p_unsigned_long swig_types[56] +#define SWIGTYPE_p_wxANIHandler swig_types[57] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[58] +#define SWIGTYPE_p_wxActivateEvent swig_types[59] #define SWIGTYPE_p_wxAuiDefaultDockArt swig_types[60] #define SWIGTYPE_p_wxAuiDefaultTabArt swig_types[61] #define SWIGTYPE_p_wxAuiDockArt swig_types[62] @@ -2552,152 +2552,151 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) #define SWIGTYPE_p_wxChildFocusEvent swig_types[86] #define SWIGTYPE_p_wxClipboardTextEvent swig_types[87] #define SWIGTYPE_p_wxCloseEvent swig_types[88] -#define SWIGTYPE_p_wxColor swig_types[89] -#define SWIGTYPE_p_wxColour swig_types[90] -#define SWIGTYPE_p_wxColourData swig_types[91] -#define SWIGTYPE_p_wxColourDialog swig_types[92] -#define SWIGTYPE_p_wxCommandEvent swig_types[93] -#define SWIGTYPE_p_wxContextMenuEvent swig_types[94] -#define SWIGTYPE_p_wxControl swig_types[95] -#define SWIGTYPE_p_wxControlWithItems swig_types[96] -#define SWIGTYPE_p_wxDC swig_types[97] -#define SWIGTYPE_p_wxDateEvent swig_types[98] -#define SWIGTYPE_p_wxDialog swig_types[99] -#define SWIGTYPE_p_wxDirDialog swig_types[100] -#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[101] -#define SWIGTYPE_p_wxDropFilesEvent swig_types[102] -#define SWIGTYPE_p_wxDuplexMode swig_types[103] -#define SWIGTYPE_p_wxEraseEvent swig_types[104] -#define SWIGTYPE_p_wxEvent swig_types[105] -#define SWIGTYPE_p_wxEvtHandler swig_types[106] -#define SWIGTYPE_p_wxFSFile swig_types[107] -#define SWIGTYPE_p_wxFileDialog swig_types[108] -#define SWIGTYPE_p_wxFileSystem swig_types[109] -#define SWIGTYPE_p_wxFindDialogEvent swig_types[110] -#define SWIGTYPE_p_wxFindReplaceData swig_types[111] -#define SWIGTYPE_p_wxFindReplaceDialog swig_types[112] -#define SWIGTYPE_p_wxFlexGridSizer swig_types[113] -#define SWIGTYPE_p_wxFocusEvent swig_types[114] -#define SWIGTYPE_p_wxFont swig_types[115] -#define SWIGTYPE_p_wxFontData swig_types[116] -#define SWIGTYPE_p_wxFontDialog swig_types[117] -#define SWIGTYPE_p_wxFrame swig_types[118] -#define SWIGTYPE_p_wxGBSizerItem swig_types[119] -#define SWIGTYPE_p_wxGIFHandler swig_types[120] -#define SWIGTYPE_p_wxGridBagSizer swig_types[121] -#define SWIGTYPE_p_wxGridSizer swig_types[122] -#define SWIGTYPE_p_wxICOHandler swig_types[123] -#define SWIGTYPE_p_wxIconizeEvent swig_types[124] -#define SWIGTYPE_p_wxIdleEvent swig_types[125] -#define SWIGTYPE_p_wxImage swig_types[126] -#define SWIGTYPE_p_wxImageHandler swig_types[127] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[128] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[129] -#define SWIGTYPE_p_wxJPEGHandler swig_types[130] -#define SWIGTYPE_p_wxKeyEvent swig_types[131] -#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[132] -#define SWIGTYPE_p_wxLayoutConstraints swig_types[133] -#define SWIGTYPE_p_wxMDIChildFrame swig_types[134] -#define SWIGTYPE_p_wxMDIClientWindow swig_types[135] -#define SWIGTYPE_p_wxMDIParentFrame swig_types[136] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[137] -#define SWIGTYPE_p_wxMenu swig_types[138] -#define SWIGTYPE_p_wxMenuBar swig_types[139] -#define SWIGTYPE_p_wxMenuEvent swig_types[140] -#define SWIGTYPE_p_wxMenuItem swig_types[141] -#define SWIGTYPE_p_wxMessageDialog swig_types[142] -#define SWIGTYPE_p_wxMiniFrame swig_types[143] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[144] -#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[145] -#define SWIGTYPE_p_wxMouseEvent swig_types[146] -#define SWIGTYPE_p_wxMoveEvent swig_types[147] -#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[148] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[149] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[150] -#define SWIGTYPE_p_wxNotifyEvent swig_types[151] -#define SWIGTYPE_p_wxNumberEntryDialog swig_types[152] -#define SWIGTYPE_p_wxObject swig_types[153] -#define SWIGTYPE_p_wxPCXHandler swig_types[154] -#define SWIGTYPE_p_wxPNGHandler swig_types[155] -#define SWIGTYPE_p_wxPNMHandler swig_types[156] -#define SWIGTYPE_p_wxPageSetupDialog swig_types[157] -#define SWIGTYPE_p_wxPageSetupDialogData swig_types[158] -#define SWIGTYPE_p_wxPaintEvent swig_types[159] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[160] -#define SWIGTYPE_p_wxPanel swig_types[161] -#define SWIGTYPE_p_wxPaperSize swig_types[162] -#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[163] -#define SWIGTYPE_p_wxPoint swig_types[164] -#define SWIGTYPE_p_wxPopupWindow swig_types[165] -#define SWIGTYPE_p_wxPreviewCanvas swig_types[166] -#define SWIGTYPE_p_wxPreviewControlBar swig_types[167] -#define SWIGTYPE_p_wxPreviewFrame swig_types[168] -#define SWIGTYPE_p_wxPrintData swig_types[169] -#define SWIGTYPE_p_wxPrintDialog swig_types[170] -#define SWIGTYPE_p_wxPrintDialogData swig_types[171] -#define SWIGTYPE_p_wxPrintPreview swig_types[172] -#define SWIGTYPE_p_wxPrinter swig_types[173] -#define SWIGTYPE_p_wxProgressDialog swig_types[174] -#define SWIGTYPE_p_wxPyApp swig_types[175] -#define SWIGTYPE_p_wxPyAuiDockArt swig_types[176] -#define SWIGTYPE_p_wxPyAuiTabArt swig_types[177] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[178] -#define SWIGTYPE_p_wxPyEvent swig_types[179] -#define SWIGTYPE_p_wxPyHtmlListBox swig_types[180] -#define SWIGTYPE_p_wxPyImageHandler swig_types[181] -#define SWIGTYPE_p_wxPyPanel swig_types[182] -#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[183] -#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[184] -#define SWIGTYPE_p_wxPyPreviewFrame swig_types[185] -#define SWIGTYPE_p_wxPyPrintPreview swig_types[186] -#define SWIGTYPE_p_wxPyPrintout swig_types[187] -#define SWIGTYPE_p_wxPyScrolledWindow swig_types[188] -#define SWIGTYPE_p_wxPySizer swig_types[189] -#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[190] -#define SWIGTYPE_p_wxPyVListBox swig_types[191] -#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[192] -#define SWIGTYPE_p_wxPyValidator swig_types[193] -#define SWIGTYPE_p_wxPyWindow swig_types[194] -#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[195] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[196] -#define SWIGTYPE_p_wxRect swig_types[197] -#define SWIGTYPE_p_wxSashEvent swig_types[198] -#define SWIGTYPE_p_wxSashLayoutWindow swig_types[199] -#define SWIGTYPE_p_wxSashWindow swig_types[200] -#define SWIGTYPE_p_wxScrollEvent swig_types[201] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[202] -#define SWIGTYPE_p_wxScrolledWindow swig_types[203] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[204] -#define SWIGTYPE_p_wxShowEvent swig_types[205] -#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[206] -#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[207] -#define SWIGTYPE_p_wxSize swig_types[208] -#define SWIGTYPE_p_wxSizeEvent swig_types[209] -#define SWIGTYPE_p_wxSizer swig_types[210] -#define SWIGTYPE_p_wxSizerItem swig_types[211] -#define SWIGTYPE_p_wxSplashScreen swig_types[212] -#define SWIGTYPE_p_wxSplashScreenWindow swig_types[213] -#define SWIGTYPE_p_wxSplitterEvent swig_types[214] -#define SWIGTYPE_p_wxSplitterWindow swig_types[215] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[216] -#define SWIGTYPE_p_wxStatusBar swig_types[217] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[218] -#define SWIGTYPE_p_wxString swig_types[219] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[220] -#define SWIGTYPE_p_wxTGAHandler swig_types[221] -#define SWIGTYPE_p_wxTIFFHandler swig_types[222] -#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[223] -#define SWIGTYPE_p_wxTextEntryDialog swig_types[224] -#define SWIGTYPE_p_wxTipWindow swig_types[225] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[226] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[227] -#define SWIGTYPE_p_wxValidator swig_types[228] -#define SWIGTYPE_p_wxWindow swig_types[229] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[230] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[231] -#define SWIGTYPE_p_wxXPMHandler swig_types[232] -static swig_type_info *swig_types[234]; -static swig_module_info swig_module = {swig_types, 233, 0, 0, 0, 0}; +#define SWIGTYPE_p_wxColour swig_types[89] +#define SWIGTYPE_p_wxColourData swig_types[90] +#define SWIGTYPE_p_wxColourDialog swig_types[91] +#define SWIGTYPE_p_wxCommandEvent swig_types[92] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[93] +#define SWIGTYPE_p_wxControl swig_types[94] +#define SWIGTYPE_p_wxControlWithItems swig_types[95] +#define SWIGTYPE_p_wxDC swig_types[96] +#define SWIGTYPE_p_wxDateEvent swig_types[97] +#define SWIGTYPE_p_wxDialog swig_types[98] +#define SWIGTYPE_p_wxDirDialog swig_types[99] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[100] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[101] +#define SWIGTYPE_p_wxDuplexMode swig_types[102] +#define SWIGTYPE_p_wxEraseEvent swig_types[103] +#define SWIGTYPE_p_wxEvent swig_types[104] +#define SWIGTYPE_p_wxEvtHandler swig_types[105] +#define SWIGTYPE_p_wxFSFile swig_types[106] +#define SWIGTYPE_p_wxFileDialog swig_types[107] +#define SWIGTYPE_p_wxFileSystem swig_types[108] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[109] +#define SWIGTYPE_p_wxFindReplaceData swig_types[110] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[111] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[112] +#define SWIGTYPE_p_wxFocusEvent swig_types[113] +#define SWIGTYPE_p_wxFont swig_types[114] +#define SWIGTYPE_p_wxFontData swig_types[115] +#define SWIGTYPE_p_wxFontDialog swig_types[116] +#define SWIGTYPE_p_wxFrame swig_types[117] +#define SWIGTYPE_p_wxGBSizerItem swig_types[118] +#define SWIGTYPE_p_wxGIFHandler swig_types[119] +#define SWIGTYPE_p_wxGridBagSizer swig_types[120] +#define SWIGTYPE_p_wxGridSizer swig_types[121] +#define SWIGTYPE_p_wxICOHandler swig_types[122] +#define SWIGTYPE_p_wxIconizeEvent swig_types[123] +#define SWIGTYPE_p_wxIdleEvent swig_types[124] +#define SWIGTYPE_p_wxImage swig_types[125] +#define SWIGTYPE_p_wxImageHandler swig_types[126] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[127] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[128] +#define SWIGTYPE_p_wxJPEGHandler swig_types[129] +#define SWIGTYPE_p_wxKeyEvent swig_types[130] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[131] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[132] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[133] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[134] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[135] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[136] +#define SWIGTYPE_p_wxMenu swig_types[137] +#define SWIGTYPE_p_wxMenuBar swig_types[138] +#define SWIGTYPE_p_wxMenuEvent swig_types[139] +#define SWIGTYPE_p_wxMenuItem swig_types[140] +#define SWIGTYPE_p_wxMessageDialog swig_types[141] +#define SWIGTYPE_p_wxMiniFrame swig_types[142] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[143] +#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[144] +#define SWIGTYPE_p_wxMouseEvent swig_types[145] +#define SWIGTYPE_p_wxMoveEvent swig_types[146] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[147] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[148] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[149] +#define SWIGTYPE_p_wxNotifyEvent swig_types[150] +#define SWIGTYPE_p_wxNumberEntryDialog swig_types[151] +#define SWIGTYPE_p_wxObject swig_types[152] +#define SWIGTYPE_p_wxPCXHandler swig_types[153] +#define SWIGTYPE_p_wxPNGHandler swig_types[154] +#define SWIGTYPE_p_wxPNMHandler swig_types[155] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[156] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[157] +#define SWIGTYPE_p_wxPaintEvent swig_types[158] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[159] +#define SWIGTYPE_p_wxPanel swig_types[160] +#define SWIGTYPE_p_wxPaperSize swig_types[161] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[162] +#define SWIGTYPE_p_wxPoint swig_types[163] +#define SWIGTYPE_p_wxPopupWindow swig_types[164] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[165] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[166] +#define SWIGTYPE_p_wxPreviewFrame swig_types[167] +#define SWIGTYPE_p_wxPrintData swig_types[168] +#define SWIGTYPE_p_wxPrintDialog swig_types[169] +#define SWIGTYPE_p_wxPrintDialogData swig_types[170] +#define SWIGTYPE_p_wxPrintPreview swig_types[171] +#define SWIGTYPE_p_wxPrinter swig_types[172] +#define SWIGTYPE_p_wxProgressDialog swig_types[173] +#define SWIGTYPE_p_wxPyApp swig_types[174] +#define SWIGTYPE_p_wxPyAuiDockArt swig_types[175] +#define SWIGTYPE_p_wxPyAuiTabArt swig_types[176] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[177] +#define SWIGTYPE_p_wxPyEvent swig_types[178] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[179] +#define SWIGTYPE_p_wxPyImageHandler swig_types[180] +#define SWIGTYPE_p_wxPyPanel swig_types[181] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[182] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[183] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[184] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[185] +#define SWIGTYPE_p_wxPyPrintout swig_types[186] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[187] +#define SWIGTYPE_p_wxPySizer swig_types[188] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[189] +#define SWIGTYPE_p_wxPyVListBox swig_types[190] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[191] +#define SWIGTYPE_p_wxPyValidator swig_types[192] +#define SWIGTYPE_p_wxPyWindow swig_types[193] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[194] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[195] +#define SWIGTYPE_p_wxRect swig_types[196] +#define SWIGTYPE_p_wxSashEvent swig_types[197] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[198] +#define SWIGTYPE_p_wxSashWindow swig_types[199] +#define SWIGTYPE_p_wxScrollEvent swig_types[200] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[201] +#define SWIGTYPE_p_wxScrolledWindow swig_types[202] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[203] +#define SWIGTYPE_p_wxShowEvent swig_types[204] +#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[205] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[206] +#define SWIGTYPE_p_wxSize swig_types[207] +#define SWIGTYPE_p_wxSizeEvent swig_types[208] +#define SWIGTYPE_p_wxSizer swig_types[209] +#define SWIGTYPE_p_wxSizerItem swig_types[210] +#define SWIGTYPE_p_wxSplashScreen swig_types[211] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[212] +#define SWIGTYPE_p_wxSplitterEvent swig_types[213] +#define SWIGTYPE_p_wxSplitterWindow swig_types[214] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[215] +#define SWIGTYPE_p_wxStatusBar swig_types[216] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[217] +#define SWIGTYPE_p_wxString swig_types[218] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[219] +#define SWIGTYPE_p_wxTGAHandler swig_types[220] +#define SWIGTYPE_p_wxTIFFHandler swig_types[221] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[222] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[223] +#define SWIGTYPE_p_wxTipWindow swig_types[224] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[225] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[226] +#define SWIGTYPE_p_wxValidator swig_types[227] +#define SWIGTYPE_p_wxWindow swig_types[228] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[229] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[230] +#define SWIGTYPE_p_wxXPMHandler swig_types[231] +static swig_type_info *swig_types[233]; +static swig_module_info swig_module = {swig_types, 232, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -2866,6 +2865,17 @@ SWIG_AsVal_bool (PyObject *obj, bool *val) } } + +SWIGINTERN int +SWIG_AsVal_double (PyObject *obj, double* val) +{ + if (PyNumber_Check(obj)) { + if (val) *val = PyFloat_AsDouble(obj); + return SWIG_OK; + } + return SWIG_TypeError; +} + SWIGINTERN void delete_wxAuiDockInfo(wxAuiDockInfo *self){} SWIGINTERN void delete_wxAuiDockUIPart(wxAuiDockUIPart *self){} SWIGINTERN void delete_wxAuiPaneButton(wxAuiPaneButton *self){} @@ -3104,10 +3114,8 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt virtual void DrawTab( wxDC& dc, wxWindow* wnd, + const wxAuiNotebookPage& pane, const wxRect& in_rect, - const wxString& caption, - const wxBitmap& bitmap, - bool active, int close_button_state, wxRect* out_tab_rect, wxRect* out_button_rect, @@ -3119,14 +3127,13 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) { PyObject* odc = wxPyMake_wxObject(&dc, false); PyObject* ownd = wxPyMake_wxObject(wnd, false); + PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiNotebookPage"), 0); PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); - PyObject* otext = wx2PyString(caption); - PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false); PyObject* ro; ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue( "(OOOOOii)", - odc, ownd, orect, otext, obmp, - (int)active, close_button_state)); + odc, ownd, orect, opane, + close_button_state)); if (ro) { if (PySequence_Check(ro) && PyObject_Length(ro) == 3) { PyObject* o1 = PySequence_GetItem(ro, 0); @@ -3154,12 +3161,11 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt Py_DECREF(odc); Py_DECREF(ownd); Py_DECREF(orect); - Py_DECREF(otext); - Py_DECREF(obmp); + Py_DECREF(opane); } wxPyEndBlockThreads(blocked); if (!found) - wxAuiDefaultTabArt::DrawTab(dc, wnd, in_rect, caption, bitmap, active, close_button_state, out_tab_rect, out_button_rect, x_extent); + wxAuiDefaultTabArt::DrawTab(dc, wnd, pane, in_rect, close_button_state, out_tab_rect, out_button_rect, x_extent); } @@ -3169,7 +3175,6 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt int bitmap_id, int button_state, int orientation, - const wxBitmap& bitmap_override, wxRect* out_rect) { bool found; @@ -3179,11 +3184,9 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt PyObject* odc = wxPyMake_wxObject(&dc, false); PyObject* ownd = wxPyMake_wxObject(wnd, false); PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0); - PyObject* obmp = wxPyConstructObject((void*)&bitmap_override, wxT("wxBitmap"), 0); PyObject* ro; ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOiiiO)", odc, ownd, orect, - bitmap_id, button_state, orientation, - obmp)); + bitmap_id, button_state, orientation)); if (ro) { if (!wxRect_helper(ro, &out_rect)) PyErr_SetString(PyExc_TypeError, errmsg); @@ -3193,11 +3196,10 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt Py_DECREF(odc); Py_DECREF(ownd); Py_DECREF(orect); - Py_DECREF(obmp); } wxPyEndBlockThreads(blocked); if (!found) - wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, bitmap_override, out_rect); + wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, out_rect); } @@ -3253,13 +3255,16 @@ class wxPyAuiTabArt : public wxAuiDefaultTabArt } // TODO -// virtual int ShowWindowList( +// virtual int ShowDropDown( // wxWindow* wnd, -// const wxArrayString& items, +// const wxAuiNotebookPageArray& items, // int active_idx); -// + +// virtual int GetIndentSize(); + // virtual int GetBestTabCtrlSize(wxWindow* wnd, -// wxAuiNotebookPageArray& pages); +// const wxAuiNotebookPageArray& pages, +// const wxSize& required_bmp_size); // virtual wxAuiTabArt* Clone(); // virtual void SetFlags(unsigned int flags); // virtual void SetSizingInfo(const wxSize& tab_ctrl_size, @@ -5837,72 +5842,6 @@ fail: } -SWIGINTERN PyObject *_wrap_AuiPaneInfo_SaveHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; - wxAuiPaneInfo *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SaveHidden" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); - } - arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - { - wxAuiPaneInfo &_result_ref = (arg1)->SaveHidden(); - result = (wxAuiPaneInfo *) &_result_ref; - } - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - resultobj = swig_obj[0]; Py_INCREF(resultobj); - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_AuiPaneInfo_RestoreHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; - wxAuiPaneInfo *result = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RestoreHidden" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'"); - } - arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1); - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - { - wxAuiPaneInfo &_result_ref = (arg1)->RestoreHidden(); - result = (wxAuiPaneInfo *) &_result_ref; - } - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - resultobj = swig_obj[0]; Py_INCREF(resultobj); - } - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ; @@ -7868,130 +7807,7 @@ fail: } -SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - wxAuiManager *arg1 = (wxAuiManager *) 0 ; - wxAuiPaneInfo *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "pane_info", NULL - }; - - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); - } - arg1 = reinterpret_cast< wxAuiManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); - } - arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->ClosePane(*arg2); - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - wxAuiManager *arg1 = (wxAuiManager *) 0 ; - wxAuiPaneInfo *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "pane_info", NULL - }; - - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); - } - arg1 = reinterpret_cast< wxAuiManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); - } - arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->MaximizePane(*arg2); - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - wxAuiManager *arg1 = (wxAuiManager *) 0 ; - wxAuiPaneInfo *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "pane_info", NULL - }; - - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); - } - arg1 = reinterpret_cast< wxAuiManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); - } - arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RestorePane(*arg2); - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxAuiManager *arg1 = (wxAuiManager *) 0 ; void *argp1 = 0 ; @@ -8002,12 +7818,12 @@ SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDP swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'"); } arg1 = reinterpret_cast< wxAuiManager * >(argp1); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->RestoreMaximizedPane(); + (arg1)->Update(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -8208,23 +8024,43 @@ fail: } -SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_AuiManager_SetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiManager *arg1 = (wxAuiManager *) 0 ; + double arg2 ; + double arg3 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + double val2 ; + int ecode2 = 0 ; + double val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL + }; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_SetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager *""'"); } arg1 = reinterpret_cast< wxAuiManager * >(argp1); + ecode2 = SWIG_AsVal_double(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "2"" of type '" "double""'"); + } + arg2 = static_cast< double >(val2); + ecode3 = SWIG_AsVal_double(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "3"" of type '" "double""'"); + } + arg3 = static_cast< double >(val3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Update(); + (arg1)->SetDockSizeConstraint(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -8235,12 +8071,11 @@ fail: } -SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiManager_GetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiManager *arg1 = (wxAuiManager *) 0 ; - wxWindow *arg2 = (wxWindow *) 0 ; - wxAuiPaneInfo *arg3 = 0 ; - wxAuiFloatingFrame *result = 0 ; + double *arg2 = (double *) 0 ; + double *arg3 = (double *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -8251,59 +8086,257 @@ SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPA PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "parent",(char *) "p", NULL + (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_GetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager const *""'"); } arg1 = reinterpret_cast< wxAuiManager * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "2"" of type '" "double *""'"); } - arg2 = reinterpret_cast< wxWindow * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); + arg2 = reinterpret_cast< double * >(argp2); + res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 ); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "3"" of type '" "double *""'"); } - arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); + arg3 = reinterpret_cast< double * >(argp3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3); + ((wxAuiManager const *)arg1)->GetDockSizeConstraint(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_AuiManager_StartPaneDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiManager *arg1 = (wxAuiManager *) 0 ; - wxWindow *arg2 = (wxWindow *) 0 ; - wxPoint *arg3 = 0 ; + wxAuiPaneInfo *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - wxPoint temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "pane_window",(char *) "offset", NULL + (char *) "self",(char *) "pane_info", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_StartPaneDrag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); + } + arg1 = reinterpret_cast< wxAuiManager * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); + } + arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->ClosePane(*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxAuiManager *arg1 = (wxAuiManager *) 0 ; + wxAuiPaneInfo *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pane_info", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); + } + arg1 = reinterpret_cast< wxAuiManager * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); + } + arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->MaximizePane(*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxAuiManager *arg1 = (wxAuiManager *) 0 ; + wxAuiPaneInfo *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pane_info", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); + } + arg1 = reinterpret_cast< wxAuiManager * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'"); + } + arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RestorePane(*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxAuiManager *arg1 = (wxAuiManager *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'"); + } + arg1 = reinterpret_cast< wxAuiManager * >(argp1); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RestoreMaximizedPane(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxAuiManager *arg1 = (wxAuiManager *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + wxAuiPaneInfo *arg3 = 0 ; + wxAuiFloatingFrame *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "parent",(char *) "p", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'"); + } + arg1 = reinterpret_cast< wxAuiManager * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'"); + } + arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_AuiManager_StartPaneDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxAuiManager *arg1 = (wxAuiManager *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + wxPoint *arg3 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + wxPoint temp3 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "pane_window",(char *) "offset", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_StartPaneDrag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "1"" of type '" "wxAuiManager *""'"); @@ -10043,6 +10076,61 @@ fail: } +SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_reserved1_set",2,2,swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); + } + arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_reserved1_set" "', expected argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + if (arg1) (arg1)->reserved1 = arg2; + + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_AuiDockInfo_reserved1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_reserved1_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'"); + } + arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1); + result = (bool) ((arg1)->reserved1); + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ; @@ -10877,13 +10965,12 @@ SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *resultobj = 0; wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ; int arg2 ; - wxColor *arg3 = 0 ; + wxColour *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; + wxColour temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -10902,17 +10989,13 @@ SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'"); } arg2 = static_cast< int >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'"); + { + arg3 = &temp3; + if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; } - arg3 = reinterpret_cast< wxColor * >(argp3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetColour(arg2,(wxColor const &)*arg3); + (arg1)->SetColour(arg2,(wxColour const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -13015,34 +13098,29 @@ SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyO wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; wxDC *arg2 = 0 ; wxWindow *arg3 = (wxWindow *) 0 ; - wxRect *arg4 = 0 ; - wxString *arg5 = 0 ; - wxBitmap *arg6 = 0 ; - bool arg7 ; - int arg8 ; - wxRect *arg9 = (wxRect *) 0 ; - wxRect *arg10 = (wxRect *) 0 ; - int *arg11 = (int *) 0 ; + wxAuiNotebookPage *arg4 = 0 ; + wxRect *arg5 = 0 ; + int arg6 ; + wxRect *arg7 = (wxRect *) 0 ; + wxRect *arg8 = (wxRect *) 0 ; + int *arg9 = (int *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; - wxRect temp4 ; - bool temp5 = false ; - void *argp6 = 0 ; - int res6 = 0 ; - bool val7 ; - int ecode7 = 0 ; - int val8 ; - int ecode8 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + wxRect temp5 ; + int val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; void *argp9 = 0 ; int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -13052,13 +13130,11 @@ SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyO PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; PyObject * obj8 = 0 ; - PyObject * obj9 = 0 ; - PyObject * obj10 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "out_tab_rect",(char *) "out_button_rect",(char *) "x_extent", NULL + (char *) "self",(char *) "dc",(char *) "wnd",(char *) "pane",(char *) "in_rect",(char *) "close_button_state",(char *) "out_tab_rect",(char *) "out_button_rect",(char *) "x_extent", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); @@ -13077,65 +13153,47 @@ SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyO SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'"); } arg3 = reinterpret_cast< wxWindow * >(argp3); - { - arg4 = &temp4; - if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail; - } - { - arg5 = wxString_in_helper(obj4); - if (arg5 == NULL) SWIG_fail; - temp5 = true; + res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); } - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "wxBitmap const &""'"); + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "4"" of type '" "wxAuiNotebookPage const &""'"); } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "wxBitmap const &""'"); + arg4 = reinterpret_cast< wxAuiNotebookPage * >(argp4); + { + arg5 = &temp5; + if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; } - arg6 = reinterpret_cast< wxBitmap * >(argp6); - ecode7 = SWIG_AsVal_bool(obj6, &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "bool""'"); - } - arg7 = static_cast< bool >(val7); - ecode8 = SWIG_AsVal_int(obj7, &val8); - if (!SWIG_IsOK(ecode8)) { - SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "int""'"); + ecode6 = SWIG_AsVal_int(obj5, &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "int""'"); } - arg8 = static_cast< int >(val8); - res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "wxRect *""'"); + arg6 = static_cast< int >(val6); + res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_wxRect, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "wxRect *""'"); } - arg9 = reinterpret_cast< wxRect * >(argp9); - res10 = SWIG_ConvertPtr(obj9, &argp10,SWIGTYPE_p_wxRect, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "AuiTabArt_DrawTab" "', expected argument " "10"" of type '" "wxRect *""'"); + arg7 = reinterpret_cast< wxRect * >(argp7); + res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "wxRect *""'"); } - arg10 = reinterpret_cast< wxRect * >(argp10); - res11 = SWIG_ConvertPtr(obj10, &argp11,SWIGTYPE_p_int, 0 | 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "AuiTabArt_DrawTab" "', expected argument " "11"" of type '" "int *""'"); + arg8 = reinterpret_cast< wxRect * >(argp8); + res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_int, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "int *""'"); } - arg11 = reinterpret_cast< int * >(argp11); + arg9 = reinterpret_cast< int * >(argp9); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->DrawTab(*arg2,arg3,(wxRect const &)*arg4,(wxString const &)*arg5,(wxBitmap const &)*arg6,arg7,arg8,arg9,arg10,arg11); + (arg1)->DrawTab(*arg2,arg3,(wxAuiNotebookPage const &)*arg4,(wxRect const &)*arg5,arg6,arg7,arg8,arg9); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } resultobj = SWIG_Py_Void(); - { - if (temp5) - delete arg5; - } return resultobj; fail: - { - if (temp5) - delete arg5; - } return NULL; } @@ -13149,8 +13207,7 @@ SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), int arg5 ; int arg6 ; int arg7 ; - wxBitmap *arg8 = 0 ; - wxRect *arg9 = (wxRect *) 0 ; + wxRect *arg8 = (wxRect *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -13166,8 +13223,6 @@ SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), int ecode7 = 0 ; void *argp8 = 0 ; int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -13176,12 +13231,11 @@ SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject * obj5 = 0 ; PyObject * obj6 = 0 ; PyObject * obj7 = 0 ; - PyObject * obj8 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "bitmap_override",(char *) "out_rect", NULL + (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "out_rect", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); @@ -13219,22 +13273,14 @@ SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'"); } arg7 = static_cast< int >(val7); - res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxBitmap, 0 | 0); + res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 ); if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'"); + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxRect *""'"); } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'"); - } - arg8 = reinterpret_cast< wxBitmap * >(argp8); - res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawButton" "', expected argument " "9"" of type '" "wxRect *""'"); - } - arg9 = reinterpret_cast< wxRect * >(argp9); + arg8 = reinterpret_cast< wxRect * >(argp8); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,(wxBitmap const &)*arg8,arg9); + (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,arg8); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -13245,34 +13291,6 @@ fail: } -SWIGINTERN PyObject *_wrap_AuiTabArt_GetIndentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; - int result; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetIndentSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); - } - arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->GetIndentSize(); - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; @@ -13379,18 +13397,19 @@ fail: } -SWIGINTERN PyObject *_wrap_AuiTabArt_ShowWindowList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiTabArt_ShowDropDown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; - wxArrayString *arg3 = 0 ; + wxAuiNotebookPageArray *arg3 = 0 ; int arg4 ; int result; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - bool temp3 = false ; + void *argp3 = 0 ; + int res3 = 0 ; int val4 ; int ecode4 = 0 ; PyObject * obj0 = 0 ; @@ -13401,54 +13420,67 @@ SWIGINTERN PyObject *_wrap_AuiTabArt_ShowWindowList(PyObject *SWIGUNUSEDPARM(sel (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowWindowList",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowDropDown",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); } arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "2"" of type '" "wxWindow *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "2"" of type '" "wxWindow *""'"); } arg2 = reinterpret_cast< wxWindow * >(argp2); - { - if (! PySequence_Check(obj2)) { - PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); - SWIG_fail; - } - arg3 = new wxArrayString; - temp3 = true; - int i, len=PySequence_Length(obj2); - for (i=0; iAdd(*s); - delete s; - Py_DECREF(item); - } + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); + } + arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); ecode4 = SWIG_AsVal_int(obj3, &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "4"" of type '" "int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowDropDown" "', expected argument " "4"" of type '" "int""'"); } arg4 = static_cast< int >(val4); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->ShowWindowList(arg2,(wxArrayString const &)*arg3,arg4); + result = (int)(arg1)->ShowDropDown(arg2,(wxAuiNotebookPageArray const &)*arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } resultobj = SWIG_From_int(static_cast< int >(result)); - { - if (temp3) delete arg3; - } return resultobj; fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_AuiTabArt_GetIndentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ; + int result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetIndentSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'"); + } + arg1 = reinterpret_cast< wxAuiTabArt * >(argp1); { - if (temp3) delete arg3; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetIndentSize(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: return NULL; } @@ -13486,12 +13518,12 @@ SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'"); } arg2 = reinterpret_cast< wxWindow * >(argp2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 ); + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray const &""'"); } arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3); { @@ -13500,7 +13532,7 @@ SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->GetBestTabCtrlSize(arg2,*arg3,(wxSize const &)*arg4); + result = (int)(arg1)->GetBestTabCtrlSize(arg2,(wxAuiNotebookPageArray const &)*arg3,(wxSize const &)*arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -15160,161 +15192,209 @@ fail: } -SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; - wxWindow *arg2 = (wxWindow *) 0 ; - wxString *arg3 = 0 ; - bool arg4 = (bool) false ; - wxBitmap const &arg5_defvalue = wxNullBitmap ; - wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; - bool result; + wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - bool temp3 = false ; - bool val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL + (char *) "self",(char *) "art", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); - } - arg2 = reinterpret_cast< wxWindow * >(argp2); - { - arg3 = wxString_in_helper(obj2); - if (arg3 == NULL) SWIG_fail; - temp3 = true; - } - if (obj3) { - ecode4 = SWIG_AsVal_bool(obj3, &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); - } - arg4 = static_cast< bool >(val4); - } - if (obj4) { - res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); - } - arg5 = reinterpret_cast< wxBitmap * >(argp5); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); } + arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); + (arg1)->SetArtProvider(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; + wxAuiTabArt *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); } + arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); { - if (temp3) - delete arg3; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxAuiTabArt *)((wxAuiNotebook const *)arg1)->GetArtProvider(); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); return resultobj; fail: - { - if (temp3) - delete arg3; - } return NULL; } -SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_SetUniformBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; - size_t arg2 ; - wxWindow *arg3 = (wxWindow *) 0 ; - wxString *arg4 = 0 ; - bool arg5 = (bool) false ; - wxBitmap const &arg6_defvalue = wxNullBitmap ; - wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; - bool result; + wxSize *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - bool temp4 = false ; - bool val5 ; - int ecode5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; + wxSize temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL + (char *) "self",(char *) "size", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetUniformBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetUniformBitmapSize" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); + { + arg2 = &temp2; + if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; } - arg3 = reinterpret_cast< wxWindow * >(argp3); { - arg4 = wxString_in_helper(obj3); - if (arg4 == NULL) SWIG_fail; - temp4 = true; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetUniformBitmapSize((wxSize const &)*arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } - if (obj4) { - ecode5 = SWIG_AsVal_bool(obj4, &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_AuiNotebook_SetTabCtrlHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "height", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetTabCtrlHeight",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + } + arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetTabCtrlHeight(arg2); + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + wxString *arg3 = 0 ; + bool arg4 = (bool) false ; + wxBitmap const &arg5_defvalue = wxNullBitmap ; + wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + bool temp3 = false ; + bool val4 ; + int ecode4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL + }; + + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + } + arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } + if (obj3) { + ecode4 = SWIG_AsVal_bool(obj3, &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'"); } - arg5 = static_cast< bool >(val5); + arg4 = static_cast< bool >(val4); } - if (obj5) { - res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); + if (obj4) { + res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'"); } - arg6 = reinterpret_cast< wxBitmap * >(argp6); + arg5 = reinterpret_cast< wxBitmap * >(argp5); } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); + result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -15322,61 +15402,112 @@ SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self) resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } { - if (temp4) - delete arg4; + if (temp3) + delete arg3; } return resultobj; fail: { - if (temp4) - delete arg4; + if (temp3) + delete arg3; } return NULL; } -SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; size_t arg2 ; + wxWindow *arg3 = (wxWindow *) 0 ; + wxString *arg4 = 0 ; + bool arg5 = (bool) false ; + wxBitmap const &arg6_defvalue = wxNullBitmap ; + wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ; bool result; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + bool temp4 = false ; + bool val5 ; + int ecode5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "page", NULL + (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); + res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'"); + } + arg3 = reinterpret_cast< wxWindow * >(argp3); + { + arg4 = wxString_in_helper(obj3); + if (arg4 == NULL) SWIG_fail; + temp4 = true; + } + if (obj4) { + ecode5 = SWIG_AsVal_bool(obj4, &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'"); + } + arg5 = static_cast< bool >(val5); + } + if (obj5) { + res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'"); + } + arg6 = reinterpret_cast< wxBitmap * >(argp6); + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->DeletePage(arg2); + result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } + { + if (temp4) + delete arg4; + } return resultobj; fail: + { + if (temp4) + delete arg4; + } return NULL; } -SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; size_t arg2 ; @@ -15391,20 +15522,20 @@ SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self) (char *) "self",(char *) "page", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->RemovePage(arg2); + result = (bool)(arg1)->DeletePage(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -15417,121 +15548,80 @@ fail: } -SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; size_t arg2 ; - wxString *arg3 = 0 ; bool result; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; int ecode2 = 0 ; - bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "page",(char *) "text", NULL + (char *) "self",(char *) "page", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); - { - arg3 = wxString_in_helper(obj2); - if (arg3 == NULL) SWIG_fail; - temp3 = true; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); + result = (bool)(arg1)->RemovePage(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } - { - if (temp3) - delete arg3; - } return resultobj; fail: - { - if (temp3) - delete arg3; - } return NULL; } -SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; - size_t arg2 ; - wxBitmap *arg3 = 0 ; - bool result; + size_t result; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "page",(char *) "bitmap", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); - ecode2 = SWIG_AsVal_size_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); - } - arg3 = reinterpret_cast< wxBitmap * >(argp3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetPageBitmap(arg2,(wxBitmap const &)*arg3); + result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; size_t arg2 ; - size_t result; + wxWindow *result = 0 ; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; @@ -15539,51 +15629,64 @@ SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(sel PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "new_page", NULL + (char *) "self",(char *) "page_idx", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)(arg1)->SetSelection(arg2); + result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + { + resultobj = wxPyMake_wxObject(result, 0); + } return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; int result; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "page_wnd", NULL + }; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageIndex",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "2"" of type '" "wxWindow *""'"); + } + arg2 = reinterpret_cast< wxWindow * >(argp2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); + result = (int)((wxAuiNotebook const *)arg1)->GetPageIndex(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -15594,39 +15697,68 @@ fail: } -SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; - size_t result; + size_t arg2 ; + wxString *arg3 = 0 ; + bool result; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + size_t val2 ; + int ecode2 = 0 ; + bool temp3 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "page",(char *) "text", NULL + }; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount(); + result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp3) + delete arg3; + } return resultobj; fail: + { + if (temp3) + delete arg3; + } return NULL; } -SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; size_t arg2 ; - wxWindow *result = 0 ; + wxString result; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; @@ -15637,25 +15769,29 @@ SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), P (char *) "self",(char *) "page_idx", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageText" "', expected argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2); + result = ((wxAuiNotebook const *)arg1)->GetPageText(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); +#if wxUSE_UNICODE + resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); +#else + resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); +#endif } return resultobj; fail: @@ -15663,175 +15799,202 @@ fail: } -SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; - wxWindow *arg2 = (wxWindow *) 0 ; - int result; + size_t arg2 ; + wxBitmap *arg3 = 0 ; + bool result; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "page_wnd", NULL + (char *) "self",(char *) "page",(char *) "bitmap", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageIndex",kwnames,&obj0,&obj1)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "2"" of type '" "wxWindow *""'"); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); } - arg2 = reinterpret_cast< wxWindow * >(argp2); + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'"); + } + arg3 = reinterpret_cast< wxBitmap * >(argp3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxAuiNotebook const *)arg1)->GetPageIndex(arg2); + result = (bool)(arg1)->SetPageBitmap(arg2,(wxBitmap const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_From_int(static_cast< int >(result)); + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; - wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ; + size_t arg2 ; + wxBitmap result; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + size_t val2 ; + int ecode2 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "art", NULL + (char *) "self",(char *) "page_idx", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageBitmap",kwnames,&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'"); - } - arg2 = reinterpret_cast< wxAuiTabArt * >(argp2); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPageBitmap" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetArtProvider(arg2); + result = ((wxAuiNotebook const *)arg1)->GetPageBitmap(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; - wxAuiTabArt *result = 0 ; + size_t arg2 ; + size_t result; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char * kwnames[] = { + (char *) "self",(char *) "new_page", NULL + }; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxAuiTabArt *)((wxAuiNotebook const *)arg1)->GetArtProvider(); + result = (size_t)(arg1)->SetSelection(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 ); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_AuiNotebook_SetUniformBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; - wxSize *arg2 = 0 ; + int result; void *argp1 = 0 ; int res1 = 0 ; - wxSize temp2 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char * kwnames[] = { - (char *) "self",(char *) "size", NULL - }; + PyObject *swig_obj[1] ; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetUniformBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetUniformBitmapSize" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); - { - arg2 = &temp2; - if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetUniformBitmapSize((wxSize const &)*arg2); + result = (int)((wxAuiNotebook const *)arg1)->GetSelection(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_AuiNotebook_SetTabCtrlHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_AuiNotebook_Split(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ; - int arg2 ; + size_t arg2 ; + int arg3 ; void *argp1 = 0 ; int res1 = 0 ; - int val2 ; + size_t val2 ; int ecode2 = 0 ; + int val3 ; + int ecode3 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char * kwnames[] = { - (char *) "self",(char *) "height", NULL + (char *) "self",(char *) "page",(char *) "direction", NULL }; - if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetTabCtrlHeight",kwnames,&obj0,&obj1)) SWIG_fail; + if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_Split",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Split" "', expected argument " "1"" of type '" "wxAuiNotebook *""'"); } arg1 = reinterpret_cast< wxAuiNotebook * >(argp1); - ecode2 = SWIG_AsVal_int(obj1, &val2); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "2"" of type '" "int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_Split" "', expected argument " "2"" of type '" "size_t""'"); } - arg2 = static_cast< int >(val2); + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_int(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Split" "', expected argument " "3"" of type '" "int""'"); + } + arg3 = static_cast< int >(val3); { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetTabCtrlHeight(arg2); + (arg1)->Split(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } @@ -15935,8 +16098,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiPaneInfo_SaveHidden", (PyCFunction)_wrap_AuiPaneInfo_SaveHidden, METH_O, NULL}, - { (char *)"AuiPaneInfo_RestoreHidden", (PyCFunction)_wrap_AuiPaneInfo_RestoreHidden, METH_O, NULL}, { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL}, { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL}, @@ -15998,15 +16159,17 @@ static PyMethodDef SwigMethods[] = { { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, + { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL}, { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL}, + { (char *)"AuiManager_SetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_SetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiManager_GetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_GetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL}, { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiManager_StartPaneDrag", (PyCFunction) _wrap_AuiManager_StartPaneDrag, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiManager_CalculateHintRect", (PyCFunction) _wrap_AuiManager_CalculateHintRect, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -16069,6 +16232,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL}, { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL}, { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL}, + { (char *)"AuiDockInfo_reserved1_set", _wrap_AuiDockInfo_reserved1_set, METH_VARARGS, NULL}, + { (char *)"AuiDockInfo_reserved1_get", (PyCFunction)_wrap_AuiDockInfo_reserved1_get, METH_O, NULL}, { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL}, { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL}, { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL}, @@ -16168,9 +16333,9 @@ static PyMethodDef SwigMethods[] = { { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiTabArt_GetIndentSize", (PyCFunction)_wrap_AuiTabArt_GetIndentSize, METH_O, NULL}, { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiTabArt_ShowWindowList", (PyCFunction) _wrap_AuiTabArt_ShowWindowList, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiTabArt_ShowDropDown", (PyCFunction) _wrap_AuiTabArt_ShowDropDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiTabArt_GetIndentSize", (PyCFunction)_wrap_AuiTabArt_GetIndentSize, METH_O, NULL}, { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL}, { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL}, @@ -16220,21 +16385,24 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL}, { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, + { (char *)"AuiNotebook_SetUniformBitmapSize", (PyCFunction) _wrap_AuiNotebook_SetUniformBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiNotebook_SetTabCtrlHeight", (PyCFunction) _wrap_AuiNotebook_SetTabCtrlHeight, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, + { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiNotebook_GetPageIndex", (PyCFunction) _wrap_AuiNotebook_GetPageIndex, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiNotebook_GetPageText", (PyCFunction) _wrap_AuiNotebook_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiNotebook_SetPageBitmap", (PyCFunction) _wrap_AuiNotebook_SetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiNotebook_GetPageBitmap", (PyCFunction) _wrap_AuiNotebook_GetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL}, - { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL}, - { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiNotebook_GetPageIndex", (PyCFunction) _wrap_AuiNotebook_GetPageIndex, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL}, - { (char *)"AuiNotebook_SetUniformBitmapSize", (PyCFunction) _wrap_AuiNotebook_SetUniformBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"AuiNotebook_SetTabCtrlHeight", (PyCFunction) _wrap_AuiNotebook_SetTabCtrlHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AuiNotebook_Split", (PyCFunction) _wrap_AuiNotebook_Split, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL}, { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL}, { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL}, @@ -17479,6 +17647,7 @@ static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) { return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x)); } static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0}; @@ -17534,7 +17703,6 @@ static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0}; @@ -17557,7 +17725,6 @@ static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wx static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; @@ -17714,6 +17881,7 @@ static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, ( static swig_type_info *swig_type_initial[] = { &_swigt__p_char, + &_swigt__p_double, &_swigt__p_form_ops_t, &_swigt__p_int, &_swigt__p_p_wxAuiFloatingFrame, @@ -17772,7 +17940,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxANIHandler, &_swigt__p_wxAcceleratorTable, &_swigt__p_wxActivateEvent, - &_swigt__p_wxArrayString, &_swigt__p_wxAuiDefaultDockArt, &_swigt__p_wxAuiDefaultTabArt, &_swigt__p_wxAuiDockArt, @@ -17802,7 +17969,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_wxChildFocusEvent, &_swigt__p_wxClipboardTextEvent, &_swigt__p_wxCloseEvent, - &_swigt__p_wxColor, &_swigt__p_wxColour, &_swigt__p_wxColourData, &_swigt__p_wxColourDialog, @@ -17949,6 +18115,7 @@ static swig_type_info *swig_type_initial[] = { }; static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; @@ -18004,7 +18171,6 @@ static swig_cast_info _swigc__p_p_wxWindow[] = { {&_swigt__p_p_wxSplashScreen, static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxAuiDefaultDockArt[] = { {&_swigt__p_wxAuiDefaultDockArt, 0, 0, 0}, {&_swigt__p_wxPyAuiDockArt, _p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxAuiDefaultTabArt[] = { {&_swigt__p_wxAuiDefaultTabArt, 0, 0, 0}, {&_swigt__p_wxPyAuiTabArt, _p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxAuiDockArt[] = { {&_swigt__p_wxAuiDockArt, 0, 0, 0}, {&_swigt__p_wxAuiDefaultDockArt, _p_wxAuiDefaultDockArtTo_p_wxAuiDockArt, 0, 0}, {&_swigt__p_wxPyAuiDockArt, _p_wxPyAuiDockArtTo_p_wxAuiDockArt, 0, 0},{0, 0, 0, 0}}; @@ -18027,7 +18193,6 @@ static swig_cast_info _swigc__p_wxAuiTabContainer[] = { {&_swigt__p_wxAuiTabCon static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; @@ -18184,6 +18349,7 @@ static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_w static swig_cast_info *swig_cast_initial[] = { _swigc__p_char, + _swigc__p_double, _swigc__p_form_ops_t, _swigc__p_int, _swigc__p_p_wxAuiFloatingFrame, @@ -18242,7 +18408,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxANIHandler, _swigc__p_wxAcceleratorTable, _swigc__p_wxActivateEvent, - _swigc__p_wxArrayString, _swigc__p_wxAuiDefaultDockArt, _swigc__p_wxAuiDefaultTabArt, _swigc__p_wxAuiDockArt, @@ -18272,7 +18437,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_wxChildFocusEvent, _swigc__p_wxClipboardTextEvent, _swigc__p_wxCloseEvent, - _swigc__p_wxColor, _swigc__p_wxColour, _swigc__p_wxColourData, _swigc__p_wxColourDialog, @@ -18998,7 +19162,6 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive))); SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop))); SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized))); - SWIG_Python_SetConstant(d, "AuiPaneInfo_optionSavedHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionSavedHidden))); SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose))); SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize))); SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize))); @@ -19006,6 +19169,7 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1))); SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2))); SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3))); + SWIG_Python_SetConstant(d, "AuiPaneInfo_savedHiddenState",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::savedHiddenState))); SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane))); SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption))); SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper))); @@ -19016,12 +19180,12 @@ SWIGEXPORT void SWIG_init(void) { SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground))); SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder))); SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton))); - PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON)); - PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE)); - PyDict_SetItemString(d, "wxEVT_AUI_PANEMAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANEMAXIMIZE)); - PyDict_SetItemString(d, "wxEVT_AUI_PANERESTORE", PyInt_FromLong(wxEVT_AUI_PANERESTORE)); + PyDict_SetItemString(d, "wxEVT_AUI_PANE_BUTTON", PyInt_FromLong(wxEVT_AUI_PANE_BUTTON)); + PyDict_SetItemString(d, "wxEVT_AUI_PANE_CLOSE", PyInt_FromLong(wxEVT_AUI_PANE_CLOSE)); + PyDict_SetItemString(d, "wxEVT_AUI_PANE_MAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANE_MAXIMIZE)); + PyDict_SetItemString(d, "wxEVT_AUI_PANE_RESTORE", PyInt_FromLong(wxEVT_AUI_PANE_RESTORE)); PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER)); - PyDict_SetItemString(d, "wxEVT_AUI_FINDMANAGER", PyInt_FromLong(wxEVT_AUI_FINDMANAGER)); + PyDict_SetItemString(d, "wxEVT_AUI_FIND_MANAGER", PyInt_FromLong(wxEVT_AUI_FIND_MANAGER)); SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP))); SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT))); SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT)));