Commit Graph

28915 Commits

Author SHA1 Message Date
Robin Dunn
c83e65d583 Disable typemap for wxImage constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 02:23:01 +00:00
Michael Wetherell
573800c5aa Redo the previous warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 01:29:40 +00:00
Michael Wetherell
d3c71b9e43 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 01:02:29 +00:00
Michael Wetherell
34de441c11 Warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 00:59:27 +00:00
Michael Wetherell
59746b65ea Add "-framework IOKit -framework CoreServices -framework System" to wxBase on mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 00:24:08 +00:00
Vadim Zeitlin
286694ba26 synthesize NM_RCLICK ourselves now that def window proc doesn't do it as we don't give WM_RBUTTONUP to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 22:34:43 +00:00
Vadim Zeitlin
5fd60e085a test EVT_TREE_ITEM_RIGHT_CLICK as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 22:32:24 +00:00
Julian Smart
f98488c8ca wxWinCE notes updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 21:17:06 +00:00
Julian Smart
dde4740fe1 Don't always maximize top-level windows on Smartphone
Don't initially hide frame under Smartphone (sometimes causes the title not to show)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 21:15:17 +00:00
Julian Smart
c9ab63f44f As yet unsuccessful attempt to set the focus to the choice control.
Also removed unnecessary border style setting code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 21:13:28 +00:00
Michael Wetherell
08335000c5 Use wxFileSystem for left hand side. Patches 1169934 and 1173497 from Stas
Sergeev and Artur Kornacki.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 20:35:54 +00:00
Michael Wetherell
d13a08ab40 Add m_allowSeeking for updated filesystem handler to use. Also switch to
using 'wx__' prefix for private symbols, and add some comments.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 20:32:28 +00:00
Julian Smart
436aae91a2 Cosmetic changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 19:43:55 +00:00
Robin Dunn
940caa34cc Correct way to find the region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 19:29:34 +00:00
Robin Dunn
1bad23bc76 Added typemap for wxIndex*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 19:29:03 +00:00
Robin Dunn
54ab2b209a Corrected InsertColumnItem name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 19:28:20 +00:00
Vadim Zeitlin
5c7c67fdec fixed wx/motif/chkconf.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 17:56:45 +00:00
Robin Dunn
2aa24b6070 Really remove the droppings when there are no pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 17:26:49 +00:00
Robert Roebling
9a2fe01017 Applied gnome print rounded rect patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 16:26:13 +00:00
Ryan Norton
caa2490c0f Fix memory leak when a spacer is added, and crash when a window is added before wxSizerItem::DeleteWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 11:39:04 +00:00
Ryan Norton
19ab5b3a6a Get rid of inline for methods not implemented in the header - some compilers choke on it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 11:09:23 +00:00
Vadim Zeitlin
ed4eede6c2 define WM_CONTEXTMENU if the standard headers don't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 09:18:42 +00:00
Julian Smart
e60fbfcb6b Always Maximize() top-level windows on Smartphone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 08:34:29 +00:00
Michael Wetherell
21bd196564 Add comments explaining the workaround for mingw 3.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 08:34:01 +00:00
Robin Dunn
75748473ee Return the wx.SizerItem from the Add methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 04:39:11 +00:00
Robin Dunn
391a2d0e2c fix email message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 04:36:10 +00:00
Robin Dunn
3215336ed0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 04:28:28 +00:00
Robin Dunn
a22318a0a9 Check validity of items before using them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 04:23:16 +00:00
Robin Dunn
37254c9a9e Corrected the name of EVT_TREE_ITEM_MENU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 04:19:03 +00:00
Robin Dunn
b6b0383e24 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 04:16:51 +00:00
Robin Dunn
791fbf3481 Added wx.GetTopLevelWindows() function which returns a copy of the
list of top-level windows that currently exist in the application.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 04:15:36 +00:00
Robin Dunn
b508ae3a7a Today's changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 03:44:37 +00:00
Vadim Zeitlin
16a0ccd009 use LVS_EX_LABELTIP by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 00:32:02 +00:00
Michael Wetherell
f5e93b3586 Change the name of the smart pointer so that wxZipOutputStreamPtr is free
for the user.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 00:31:29 +00:00
Vadim Zeitlin
b11433049e reversed change of rev 1.127: this resulted in bug 1175461 while the original bug which 1.127 fixed can't be reproduced any more (probably fixed by 1.131?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 00:24:14 +00:00
Vadim Zeitlin
c406cd3da0 added more tests for wxFileConfig creation: adding new entries/groups in different order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 00:21:51 +00:00
Vadim Zeitlin
068b764a5a move code ignoring VK_SPACE and VK_RETURN WM_CHAR messages to MSWDefWindowProc() from MSWWindowProc(): this allows to catch wxCharEvents for them while still not letting the control have them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 23:33:04 +00:00
Vadim Zeitlin
ba8a196102 reset selection anchor when a key changing selection is pressed without Shift (closes bug 1176908)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 23:30:47 +00:00
Vadim Zeitlin
b3d6b0c94c removed code which doesn't do anything (patch 1175655)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 23:09:25 +00:00
Vadim Zeitlin
9ea0f2c57f don't generate assert when creating wxEVT_COMMAND_TREE_ITEM_MENU and the tree is in multi select mode (replaces patch 1177263)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 23:07:11 +00:00
Vadim Zeitlin
c545c23009 log right mouse down/up events too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 23:03:32 +00:00
Vadim Zeitlin
fbd8ac5236 don't let WM_RBUTTONDOWN reach def window proc as it would enter a local modal message loop waiting for WM_RBUTTONUO and hose our event generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 22:59:22 +00:00
Vadim Zeitlin
dd932cbe1c added GetVisibleBegin/End() to complement/replace GetFirst/LastVisibleLine() and use them in the code to fix problems when the control is empty and GetLastVisibleLine() returns (size_t)-1 (closes bug 1176561)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 22:43:41 +00:00
Vadim Zeitlin
9c2a1d53c0 add extra space for top border when wxDIALOG_UNIT_COMPATIBILITY == 1 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 22:23:50 +00:00
Vadim Zeitlin
9cf4b4398d fix for richedit version 1 control bug with bad refresh after resize under Windows XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 22:14:58 +00:00
Vadim Zeitlin
e111012a42 use wxTE_RICH2 for the text control, it looks better under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 21:46:37 +00:00
Vadim Zeitlin
f05f427fc1 fixed wxStaticBox::SetBackgroundColour(): this should change background for the label only, not the entire box contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 21:27:35 +00:00
Vadim Zeitlin
6ecfb2c870 mention static box border fir under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 21:17:01 +00:00
Vadim Zeitlin
8397b2f7a9 we need to leave some space for static box border even if its label is empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 21:15:25 +00:00
Vadim Zeitlin
b45f79ecbf give an error if wxMotif is built in Unicode mode (to prevent bug reports like 1177193); moved wxMotif-specific checks in its own wx/motif/chkconf.h; moved wxMac stuff remaining in wx/chkconf.h to wx/mac/chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 20:54:56 +00:00