Robin Dunn
137b5242b1
More unicode related cleanup and fixes for wxPython
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 05:50:09 +00:00
Robin Dunn
10ef30eb53
wxStyledTextCtrl can now be built and used when wxUSE_UNICODE==1.
...
When in unicode mode Scintilla uses UTF-8 internally so the wxSTC
wrapper only needs to convert to/from UTF-8 in the right places.
Still need to figure out to get unicode characters from key/char
events...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 20:43:39 +00:00
Robin Dunn
a884bee57a
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 23:10:23 +00:00
Robin Dunn
e9159fe8e8
Added wxBufferedDC, changes for wxMenu and wxMenuItem, and other
...
little fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:11:23 +00:00
Robin Dunn
cac344f664
Fixed a typo in one of the virtual callback macros.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 18:30:09 +00:00
Robin Dunn
49df1f5269
Newly SWIGged sources for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:20:45 +00:00
Robin Dunn
26e335b844
Some little tweaks and cleanups.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 18:30:21 +00:00
Robin Dunn
a541c32586
Core wxPython (non-contrib) now fully works with Unicode!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:30:20 +00:00
Robin Dunn
6824d4f9e0
Applied and merged patch 486364, which enables wxPython to be built in
...
unicode mode. There are a number of things still missing in it and
not everything is converted correctly... But it now builds and
functions properly again in non-unicode mode so this is a good time to
check in everything. The previous version of all of wxPython sources
is tagged wxPy_B4_UNICODE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:40:13 +00:00
Robin Dunn
c8bc7bb84d
Applied and merged patch 486364, which enables wxPython to be built in
...
unicode mode. There are a number of things still missing in it and
not everything is converted correctly... But it now builds and
functions properly again in non-unicode mode so this is a good time to
check in everything. The previous version of all of wxPython sources
is tagged wxPy_B4_UNICODE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:29:04 +00:00
Robin Dunn
da0ddbd6df
SWIGged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 23:55:25 +00:00
Robin Dunn
4be610641a
New SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:19:28 +00:00
Robin Dunn
f9bd2c1bdf
Added a reminder to myself for later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 03:18:57 +00:00
Robin Dunn
ff42dd6650
Changes for recent htmlhelp updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:05:27 +00:00
Robin Dunn
7248a051ef
Added a wxIconFromBitmap "constructor" for wxIcon.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:04:56 +00:00
Robin Dunn
55d186514e
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:48:34 +00:00
Robin Dunn
3999941a70
Bugfix for wxTreeCtrl.InsertItemBefore and more SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:47:30 +00:00
Robin Dunn
f0972d1ea4
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:36:54 +00:00
Robin Dunn
7d0180d415
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:34:32 +00:00
Robin Dunn
e5d41db01a
Added some anchor related methods to wxHtmlWindow as suggested on the
...
wxPython-users list.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:33:58 +00:00
Robin Dunn
c6ebc32af0
more updates for recent toolbar changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:32:21 +00:00
Robin Dunn
79f1d86caf
Added python support for a virtual CanDismiss method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:32:00 +00:00
Robin Dunn
445365141a
Added a Python-specific Append method to the wxListCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:31:15 +00:00
Robin Dunn
88c7f3f938
rearrainging a few things
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:29:55 +00:00
Robin Dunn
96de41c2c5
Added wxPython.lib.rcsizer which contains RowColSizer. This sizer is
...
based on code from Niki Spahiev and lets you specify a row and column
for each item, as well as optional column or row spanning. Cells with
not item assigned to it are just left blank. Stretchable rows or
columns are specified and work the same as in wxFlexGridSizer.
A few other minor changes too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 19:01:19 +00:00
Robin Dunn
5ae7602641
Moved declaratrions of wxPyInputStream and etc. into it's own header
...
file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 17:05:56 +00:00
Robin Dunn
4152e8b9fd
Moved declaratrions of wxPyInputStream and etc. into it's own header
...
file.
SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 16:59:20 +00:00
Robin Dunn
cbf60e091e
Moved declaratrions of wxPyInputStream and etc. into it's own header
...
file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 15:53:14 +00:00
Robin Dunn
afb810d936
Changed the img2py tool to use PNG instead of XPM for embedding image
...
data in Python source code, and the generated code now uses streams to
convert the image data to wxImage, wxBitmap, or wxIcon.
A few other changes to match recent additions to CVS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 22:35:10 +00:00
Robin Dunn
d063802fcf
more wxMac specific updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 04:18:57 +00:00
Robin Dunn
a341e32e10
SIGged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:02:33 +00:00
Robin Dunn
94082a71f8
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 20:47:46 +00:00
Robin Dunn
f74ff5efa5
Finished wrapping and providing typemaps for wxInputStream and also
...
added the stream ctor and other methods for wxImage so images can now
be loaded from any Python "file-like" object.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:50:01 +00:00
Robin Dunn
14afa2cbca
Better wrapper for wxListCtrl.GetColumn, and some other cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:54:23 +00:00
Robin Dunn
be90c029fd
As per the wx-dev discussion in early Jan, replaced
...
wxWindow::m_parentSizer with m_containingSizer which is used to track
which sizer this window is a member of. Windows will now remove
themselves from a sizer when destroyed. Also added accessors so
window classes can find out if they are in a sizer and do things like
reset their min size, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 23:34:46 +00:00
Robin Dunn
ef2060faf3
SWIGged updates for wxGTK for recent changes
...
A few other little cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:17:33 +00:00
Robin Dunn
c0fbf24ba6
A little different fix for how to delay the call to __wxCleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:01:04 +00:00
Robin Dunn
154747f5be
A fix for incorrect wrapping of wxPallet.GetRGB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:00:29 +00:00
Robin Dunn
be43cc441a
A fix for Python 2.2 which can sometimes call __wxCleanup before all
...
the other wxPython objects have been deleted.
Other various things to match recent CVS changes in wx.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 21:28:41 +00:00
Robin Dunn
fe40185d40
Check for existing colour names when adding to wxTheColourDatabase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 01:44:05 +00:00
Robin Dunn
96e5ef7631
Moved utils.i back into the core since it imports it anyway.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 01:04:20 +00:00
Robin Dunn
f54a35fe22
Updated the build docs a bit, added wxMetafileDataObject, and some
...
cleanup and fixes here and there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 21:03:27 +00:00
Robin Dunn
8cb490124b
wxPyEmptyStr --> wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 00:19:04 +00:00
Robin Dunn
23bed52041
wxPyEmptyStr --> wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:16:16 +00:00
Robin Dunn
7faa9591f4
fixed compile bug for when threads are turned off
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 01:18:46 +00:00
Robin Dunn
ca31b3da99
SWIG update for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 19:20:58 +00:00
Robin Dunn
5d4133915f
SWIG updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 01:27:33 +00:00
Robin Dunn
c6c593e88d
Updates for recent changes to wx, and some other little tweaks and fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 00:11:38 +00:00
Robin Dunn
6c5ae2d2a6
Demo cleanup and path issues.
...
other tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 01:24:39 +00:00
Robin Dunn
85247b3671
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 21:00:33 +00:00