Commit Graph

22247 Commits

Author SHA1 Message Date
Robin Dunn
da32eb53cb Changed (again) how the GIL is aquired and the tstate restored. This
time it's simpler, better, and handles the case where there is a wx
calback/event while the GIL has been released by a non-wxPython
extension module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-24 23:09:59 +00:00
Robin Dunn
70a4ef826f fixed indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-24 23:06:52 +00:00
Robin Dunn
0dabb2a2c6 fixes for unicode build, return values from event handlers (via
updated attributes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-24 23:06:01 +00:00
Robin Dunn
0bb309f75c copare lower case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-24 23:02:28 +00:00
Václav Slavík
dda36afd4a fixed warnings about unneeded arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-24 20:12:14 +00:00
Vadim Zeitlin
eefe6d4b7c don't show the window initially if m_isShown is false, i.e. if Hide() had been called before Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-24 14:21:17 +00:00
Václav Slavík
1e6d9c20fd unified wxTaskBarIcon behaviour: wxMSW version is not removed automatically when all frames are closed, it must be destroyed explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 23:20:16 +00:00
Václav Slavík
814e9c24c2 use shared samples icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 23:19:30 +00:00
Julian Smart
ae403b112c Applied patch [ 920076 ] [listctrl sample] Keep multiselect menu item in sync
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 22:18:06 +00:00
Julian Smart
e9489c363d Applied patch [ 899676 ] Updated project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 22:14:36 +00:00
Julian Smart
17401ab1cd Applied patch [ 905577 ] Removed copystring from OGL library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 22:07:56 +00:00
Julian Smart
a0086878b0 Applied patch [ 919791 ] [widgets sample] Update wxListbox selection handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 21:58:25 +00:00
Julian Smart
8ad18dc32c Applied [ 899616 ] Fixes to the checklst and splitter samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 21:50:16 +00:00
Julian Smart
46a3848921 Removed redundant wave.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 21:29:20 +00:00
Julian Smart
e0b5519ad9 Applied patch [ 914126 ] Cleaning of the forty demo
Also made configurable between use of grid and canvas


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 21:23:17 +00:00
Julian Smart
d8e1aa86f1 Applied patch [ 919026 ] wxBU_EXACTFIT support in wxBitmapButtonXmlHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 20:46:17 +00:00
Julian Smart
e8153940f9 Added wxBU_EXACTFIT support to wxBitmapButton on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 20:39:57 +00:00
Julian Smart
03ca23b6b7 Misc doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 20:31:28 +00:00
Stefan Csomor
f973828cd9 classic/carbon split
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 17:48:40 +00:00
Stefan Csomor
52479aefae classic/carbon split
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 17:38:49 +00:00
Stefan Csomor
8cf73271dd classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 17:35:05 +00:00
Julian Smart
0aff9d91ae Added new icons
Made menus more Mac-friendly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 08:57:45 +00:00
Robin Dunn
83cbb9e995 Need to navigate to "about:blank" in order for the internal docuemnt
to be created, which has to be done in order for LoadString to work,
so do it at the start.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 06:06:23 +00:00
Robin Dunn
b7c75283f2 Lindsay Mathieson's newest wxActiveX class has been wrapped into a new
extension module called wx.activex.  Lots of demo and lib updates to
go along with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 05:29:50 +00:00
Robin Dunn
13baae2c95 use default window id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 05:26:02 +00:00
Václav Slavík
a0c9880cd9 marked wxWindows.dsp as deprecated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 22:14:57 +00:00
Václav Slavík
b3c7058ad2 fixed linking (EXTRALIBS_GUI comes after EXTRALIBS and I don't see an easy way to change it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 21:48:27 +00:00
Robin Dunn
1c26fbe00e Ensure the buffer is NULL-terminated before converting it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 18:35:35 +00:00
Robin Dunn
2548474612 Expand the range of WXK_ values that are excluded from OnChar.
Correct the position of the context menu.  (SF# 921247)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 18:22:54 +00:00
Vadim Zeitlin
cbc8c6ee97 moved wxWinHandleHash below wxWindow declaration as otherwise the dtor of forward declared wxWindow is not called inside WX_DECLARE_HASH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 18:06:23 +00:00
Vadim Zeitlin
cf9df19136 removed wxMotif::wxMenuItem::DeleteSubMenu()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 17:47:50 +00:00
Vadim Zeitlin
e0ae1a0ae9 auto detect the icon if none given instead of asserting (MSW and Mac do allow this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 17:42:49 +00:00
Václav Slavík
238fb020fa compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 12:53:37 +00:00
Vadim Zeitlin
2bc8663422 update from Ylia K
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 11:07:18 +00:00
Vadim Zeitlin
ff79234425 distinguish between main keyboard and numeric enter keys (fixes 902095)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-21 23:13:50 +00:00
Václav Slavík
5b2b456fb1 lists rendering fixes (second part of patch 911377)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-21 10:37:21 +00:00
Václav Slavík
d49520c318 a) navigation panel needs size hint, reverted previous revision; b) added wxADJUST_MINSIZE for tree and list controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-21 09:31:29 +00:00
Václav Slavík
d80f251586 removed any possibility of confusion regarding Bakefiles.local.bkgen format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 23:23:50 +00:00
Robert Roebling
74707d69ca Applied SetItemData() patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 16:21:19 +00:00
Vadim Zeitlin
a4e0917b48 compilation fix for the last wxSprintf() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 13:44:06 +00:00
Robert Roebling
c077ee9433 Applied notebook font patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:57:46 +00:00
Vadim Zeitlin
03b3965c3a why should wxMessageDialog dialog have another m_parent, in addition to wxWindow::m_parent? removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:51:35 +00:00
Vadim Zeitlin
1840af0319 reuse existing wxGetTopLevelParent() function in wxMessageDialog ctor instead of reimplementing it (yes, it is just 4 lines, but this still was enough for a fatal bug to slip in them...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:49:43 +00:00
Vadim Zeitlin
27005f3a3f explicitly return NFR_UNICODE from WM_NOTIFYFORMAT when using MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:45:26 +00:00
Vadim Zeitlin
9a63feff3a added wxSetCCUnicodeFormat() and use it in wxTreeCtrl/wxToolBar; also replaced SendMessage(LVM_SETUNICODEFORMAT) with a call to it in wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:39:04 +00:00
Robert Roebling
7aad0bf32e i
Allow NULL parent in message dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:28:12 +00:00
Robert Roebling
aa154cb157 Fix conversion error in tooltips.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:24:16 +00:00
Stefan Csomor
2646f48516 split classic and carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 07:43:01 +00:00
Vadim Zeitlin
f8991003ff fixed wxSnprintf() for Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-19 22:45:18 +00:00
Julian Smart
6f7105b65e Implemented borderless wxTextCtrl (wxNO_BORDER)
If this inteferes with other patches we can revert and apply later


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-19 21:12:01 +00:00