X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33d6fd3b4c38226d3859de4a29ab317f588ada22..205d49f79e084d964b7f91388ec92d53ab4700a7:/wxPython/src/msw/_gdi.py?ds=sidebyside diff --git a/wxPython/src/msw/_gdi.py b/wxPython/src/msw/_gdi.py index 7334761ce7..1ca38b70b7 100644 --- a/wxPython/src/msw/_gdi.py +++ b/wxPython/src/msw/_gdi.py @@ -1420,6 +1420,10 @@ class Region(GDIObject): """IsEmpty(self) -> bool""" return _gdi_.Region_IsEmpty(*args, **kwargs) + def IsEqual(*args, **kwargs): + """IsEqual(self, Region region) -> bool""" + return _gdi_.Region_IsEqual(*args, **kwargs) + def Union(*args, **kwargs): """Union(self, int x, int y, int width, int height) -> bool""" return _gdi_.Region_Union(*args, **kwargs) @@ -2431,9 +2435,6 @@ def FontEnumerator_IsValidFacename(*args, **kwargs): #--------------------------------------------------------------------------- -Layout_Default = _gdi_.Layout_Default -Layout_LeftToRight = _gdi_.Layout_LeftToRight -Layout_RightToLeft = _gdi_.Layout_RightToLeft LANGUAGE_DEFAULT = _gdi_.LANGUAGE_DEFAULT LANGUAGE_UNKNOWN = _gdi_.LANGUAGE_UNKNOWN LANGUAGE_ABKHAZIAN = _gdi_.LANGUAGE_ABKHAZIAN @@ -2939,7 +2940,7 @@ def EncodingConverter_CanConvert(*args, **kwargs): # to the default catalog path. if wx.Platform == "__WXMSW__": import os - _localedir = os.path.join(os.path.split(__file__)[0], "i18n") + _localedir = os.path.join(os.path.split(__file__)[0], "locale") Locale.AddCatalogLookupPathPrefix(_localedir) del os @@ -3739,7 +3740,7 @@ class DC(_core.Object): GetMultiLineTextExtent(wxString string, Font font=None) -> (width, height, lineHeight) - Get the width, height, decent and leading of the text using the + Get the width, height, and line height of the text using the current or specified font. Works for single as well as multi-line strings. """ @@ -4510,11 +4511,15 @@ class BufferedDC(MemoryDC): `wx.Bitmap`) and then copied to the screen only once, when this object is destroyed. - It can be used in the same way as any other device - context. wx.BufferedDC itself typically replaces `wx.ClientDC`, if you - want to use it in your EVT_PAINT handler, you should look at + It can be used in the same way as any other device context. + wx.BufferedDC itself typically replaces `wx.ClientDC`, if you want to + use it in your EVT_PAINT handler, you should look at `wx.BufferedPaintDC`. + Please note that GTK+ 2.0 and OS X provide double buffering themselves + natively so using this class on those platforms will normally result + in an unneeded level of buffering. + """ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr @@ -5355,9 +5360,11 @@ _gdi_.Effects_swigregister(Effects) CONTROL_DISABLED = _gdi_.CONTROL_DISABLED CONTROL_FOCUSED = _gdi_.CONTROL_FOCUSED CONTROL_PRESSED = _gdi_.CONTROL_PRESSED +CONTROL_SPECIAL = _gdi_.CONTROL_SPECIAL CONTROL_ISDEFAULT = _gdi_.CONTROL_ISDEFAULT CONTROL_ISSUBMENU = _gdi_.CONTROL_ISSUBMENU CONTROL_EXPANDED = _gdi_.CONTROL_EXPANDED +CONTROL_SIZEGRIP = _gdi_.CONTROL_SIZEGRIP CONTROL_CURRENT = _gdi_.CONTROL_CURRENT CONTROL_SELECTED = _gdi_.CONTROL_SELECTED CONTROL_CHECKED = _gdi_.CONTROL_CHECKED