]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wxPython/_core.py
Fixed sizing and positioning, simplifying code (too much?) in the process.
[wxWidgets.git] / wxPython / wxPython / _core.py
index a7d6af7009ac811abf723829afb62d49f8227970..980c02a6c2c3982b205465014159032b458500c3 100644 (file)
@@ -107,6 +107,7 @@ wxSIZE_AUTO_HEIGHT = wx._core.SIZE_AUTO_HEIGHT
 wxSIZE_AUTO = wx._core.SIZE_AUTO
 wxSIZE_USE_EXISTING = wx._core.SIZE_USE_EXISTING
 wxSIZE_ALLOW_MINUS_ONE = wx._core.SIZE_ALLOW_MINUS_ONE
+wxSIZE_FORCE = wx._core.SIZE_FORCE
 wxPORTRAIT = wx._core.PORTRAIT
 wxLANDSCAPE = wx._core.LANDSCAPE
 wxPRINT_QUALITY_HIGH = wx._core.PRINT_QUALITY_HIGH
@@ -115,6 +116,7 @@ wxPRINT_QUALITY_LOW = wx._core.PRINT_QUALITY_LOW
 wxPRINT_QUALITY_DRAFT = wx._core.PRINT_QUALITY_DRAFT
 wxID_ANY = wx._core.ID_ANY
 wxID_SEPARATOR = wx._core.ID_SEPARATOR
+wxID_NONE = wx._core.ID_NONE
 wxID_LOWEST = wx._core.ID_LOWEST
 wxID_OPEN = wx._core.ID_OPEN
 wxID_CLOSE = wx._core.ID_CLOSE
@@ -318,6 +320,8 @@ wxDOT_DASH = wx._core.DOT_DASH
 wxUSER_DASH = wx._core.USER_DASH
 wxTRANSPARENT = wx._core.TRANSPARENT
 wxSTIPPLE = wx._core.STIPPLE
+wxSTIPPLE_MASK = wx._core.STIPPLE_MASK
+wxSTIPPLE_MASK_OPAQUE = wx._core.STIPPLE_MASK_OPAQUE
 wxBDIAGONAL_HATCH = wx._core.BDIAGONAL_HATCH
 wxCROSSDIAG_HATCH = wx._core.CROSSDIAG_HATCH
 wxFDIAGONAL_HATCH = wx._core.FDIAGONAL_HATCH
@@ -540,6 +544,56 @@ wxPAPER_B5_EXTRA = wx._core.PAPER_B5_EXTRA
 wxPAPER_A2 = wx._core.PAPER_A2
 wxPAPER_A3_TRANSVERSE = wx._core.PAPER_A3_TRANSVERSE
 wxPAPER_A3_EXTRA_TRANSVERSE = wx._core.PAPER_A3_EXTRA_TRANSVERSE
+wxPAPER_DBL_JAPANESE_POSTCARD = wx._core.PAPER_DBL_JAPANESE_POSTCARD
+wxPAPER_A6 = wx._core.PAPER_A6
+wxPAPER_JENV_KAKU2 = wx._core.PAPER_JENV_KAKU2
+wxPAPER_JENV_KAKU3 = wx._core.PAPER_JENV_KAKU3
+wxPAPER_JENV_CHOU3 = wx._core.PAPER_JENV_CHOU3
+wxPAPER_JENV_CHOU4 = wx._core.PAPER_JENV_CHOU4
+wxPAPER_LETTER_ROTATED = wx._core.PAPER_LETTER_ROTATED
+wxPAPER_A3_ROTATED = wx._core.PAPER_A3_ROTATED
+wxPAPER_A4_ROTATED = wx._core.PAPER_A4_ROTATED
+wxPAPER_A5_ROTATED = wx._core.PAPER_A5_ROTATED
+wxPAPER_B4_JIS_ROTATED = wx._core.PAPER_B4_JIS_ROTATED
+wxPAPER_B5_JIS_ROTATED = wx._core.PAPER_B5_JIS_ROTATED
+wxPAPER_JAPANESE_POSTCARD_ROTATED = wx._core.PAPER_JAPANESE_POSTCARD_ROTATED
+wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED = wx._core.PAPER_DBL_JAPANESE_POSTCARD_ROTATED
+wxPAPER_A6_ROTATED = wx._core.PAPER_A6_ROTATED
+wxPAPER_JENV_KAKU2_ROTATED = wx._core.PAPER_JENV_KAKU2_ROTATED
+wxPAPER_JENV_KAKU3_ROTATED = wx._core.PAPER_JENV_KAKU3_ROTATED
+wxPAPER_JENV_CHOU3_ROTATED = wx._core.PAPER_JENV_CHOU3_ROTATED
+wxPAPER_JENV_CHOU4_ROTATED = wx._core.PAPER_JENV_CHOU4_ROTATED
+wxPAPER_B6_JIS = wx._core.PAPER_B6_JIS
+wxPAPER_B6_JIS_ROTATED = wx._core.PAPER_B6_JIS_ROTATED
+wxPAPER_12X11 = wx._core.PAPER_12X11
+wxPAPER_JENV_YOU4 = wx._core.PAPER_JENV_YOU4
+wxPAPER_JENV_YOU4_ROTATED = wx._core.PAPER_JENV_YOU4_ROTATED
+wxPAPER_P16K = wx._core.PAPER_P16K
+wxPAPER_P32K = wx._core.PAPER_P32K
+wxPAPER_P32KBIG = wx._core.PAPER_P32KBIG
+wxPAPER_PENV_1 = wx._core.PAPER_PENV_1
+wxPAPER_PENV_2 = wx._core.PAPER_PENV_2
+wxPAPER_PENV_3 = wx._core.PAPER_PENV_3
+wxPAPER_PENV_4 = wx._core.PAPER_PENV_4
+wxPAPER_PENV_5 = wx._core.PAPER_PENV_5
+wxPAPER_PENV_6 = wx._core.PAPER_PENV_6
+wxPAPER_PENV_7 = wx._core.PAPER_PENV_7
+wxPAPER_PENV_8 = wx._core.PAPER_PENV_8
+wxPAPER_PENV_9 = wx._core.PAPER_PENV_9
+wxPAPER_PENV_10 = wx._core.PAPER_PENV_10
+wxPAPER_P16K_ROTATED = wx._core.PAPER_P16K_ROTATED
+wxPAPER_P32K_ROTATED = wx._core.PAPER_P32K_ROTATED
+wxPAPER_P32KBIG_ROTATED = wx._core.PAPER_P32KBIG_ROTATED
+wxPAPER_PENV_1_ROTATED = wx._core.PAPER_PENV_1_ROTATED
+wxPAPER_PENV_2_ROTATED = wx._core.PAPER_PENV_2_ROTATED
+wxPAPER_PENV_3_ROTATED = wx._core.PAPER_PENV_3_ROTATED
+wxPAPER_PENV_4_ROTATED = wx._core.PAPER_PENV_4_ROTATED
+wxPAPER_PENV_5_ROTATED = wx._core.PAPER_PENV_5_ROTATED
+wxPAPER_PENV_6_ROTATED = wx._core.PAPER_PENV_6_ROTATED
+wxPAPER_PENV_7_ROTATED = wx._core.PAPER_PENV_7_ROTATED
+wxPAPER_PENV_8_ROTATED = wx._core.PAPER_PENV_8_ROTATED
+wxPAPER_PENV_9_ROTATED = wx._core.PAPER_PENV_9_ROTATED
+wxPAPER_PENV_10_ROTATED = wx._core.PAPER_PENV_10_ROTATED
 wxDUPLEX_SIMPLEX = wx._core.DUPLEX_SIMPLEX
 wxDUPLEX_HORIZONTAL = wx._core.DUPLEX_HORIZONTAL
 wxDUPLEX_VERTICAL = wx._core.DUPLEX_VERTICAL
@@ -567,8 +621,12 @@ wxHT_MAX = wx._core.HT_MAX
 wxMOD_NONE = wx._core.MOD_NONE
 wxMOD_ALT = wx._core.MOD_ALT
 wxMOD_CONTROL = wx._core.MOD_CONTROL
+wxMOD_ALTGR = wx._core.MOD_ALTGR
 wxMOD_SHIFT = wx._core.MOD_SHIFT
+wxMOD_META = wx._core.MOD_META
 wxMOD_WIN = wx._core.MOD_WIN
+wxMOD_CMD = wx._core.MOD_CMD
+wxMOD_ALL = wx._core.MOD_ALL
 wxUPDATE_UI_NONE = wx._core.UPDATE_UI_NONE
 wxUPDATE_UI_RECURSE = wx._core.UPDATE_UI_RECURSE
 wxUPDATE_UI_FROMIDLE = wx._core.UPDATE_UI_FROMIDLE
@@ -680,9 +738,15 @@ wxIMAGE_ALPHA_THRESHOLD = wx._core.IMAGE_ALPHA_THRESHOLD
 wxIMAGE_ALPHA_OPAQUE = wx._core.IMAGE_ALPHA_OPAQUE
 wxImageHandler = wx._core.ImageHandler
 wxImageHandlerPtr = wx._core.ImageHandlerPtr
+wxPyImageHandler = wx._core.PyImageHandler
+wxPyImageHandlerPtr = wx._core.PyImageHandlerPtr
 wxImageHistogram = wx._core.ImageHistogram
 wxImageHistogramPtr = wx._core.ImageHistogramPtr
 wxImageHistogram_MakeKey = wx._core.ImageHistogram_MakeKey
+wxImage_RGBValue = wx._core.Image_RGBValue
+wxImage_RGBValuePtr = wx._core.Image_RGBValuePtr
+wxImage_HSVValue = wx._core.Image_HSVValue
+wxImage_HSVValuePtr = wx._core.Image_HSVValuePtr
 wxImage = wx._core.Image
 wxImagePtr = wx._core.ImagePtr
 wxImageFromMime = wx._core.ImageFromMime
@@ -699,6 +763,8 @@ wxImage_AddHandler = wx._core.Image_AddHandler
 wxImage_InsertHandler = wx._core.Image_InsertHandler
 wxImage_RemoveHandler = wx._core.Image_RemoveHandler
 wxImage_GetImageExtWildcard = wx._core.Image_GetImageExtWildcard
+wxImage_RGBtoHSV = wx._core.Image_RGBtoHSV
+wxImage_HSVtoRGB = wx._core.Image_HSVtoRGB
 wxNullImage = wx._core.NullImage
 wxIMAGE_OPTION_FILENAME = wx._core.IMAGE_OPTION_FILENAME
 wxIMAGE_OPTION_BMP_FORMAT = wx._core.IMAGE_OPTION_BMP_FORMAT
@@ -823,7 +889,7 @@ wxEVT_SCROLL_PAGEUP = wx._core.wxEVT_SCROLL_PAGEUP
 wxEVT_SCROLL_PAGEDOWN = wx._core.wxEVT_SCROLL_PAGEDOWN
 wxEVT_SCROLL_THUMBTRACK = wx._core.wxEVT_SCROLL_THUMBTRACK
 wxEVT_SCROLL_THUMBRELEASE = wx._core.wxEVT_SCROLL_THUMBRELEASE
-wxEVT_SCROLL_ENDSCROLL = wx._core.wxEVT_SCROLL_ENDSCROLL
+wxEVT_SCROLL_CHANGED = wx._core.wxEVT_SCROLL_CHANGED
 wxEVT_SCROLLWIN_TOP = wx._core.wxEVT_SCROLLWIN_TOP
 wxEVT_SCROLLWIN_BOTTOM = wx._core.wxEVT_SCROLLWIN_BOTTOM
 wxEVT_SCROLLWIN_LINEUP = wx._core.wxEVT_SCROLLWIN_LINEUP
@@ -1046,6 +1112,8 @@ wxMenu = wx._core.Menu
 wxMenuPtr = wx._core.MenuPtr
 wxMenuBar = wx._core.MenuBar
 wxMenuBarPtr = wx._core.MenuBarPtr
+wxMenuBar_SetAutoWindowMenu = wx._core.MenuBar_SetAutoWindowMenu
+wxMenuBar_GetAutoWindowMenu = wx._core.MenuBar_GetAutoWindowMenu
 wxMenuItem = wx._core.MenuItem
 wxMenuItemPtr = wx._core.MenuItemPtr
 wxMenuItem_GetLabelFromText = wx._core.MenuItem_GetLabelFromText
@@ -1153,6 +1221,7 @@ wxDLG_SZE = wx._core.DLG_SZE
 wxPyAssertionError = wx._core.PyAssertionError
 wxMemoryFSHandler_AddFile = wx._core.MemoryFSHandler_AddFile
 wxInitAllImageHandlers = wx._core.InitAllImageHandlers
+wxEVT_SCROLL_ENDSCROLL = wx._core.wxEVT_SCROLL_ENDSCROLL
 
 
 d = globals()