Commit Graph

16025 Commits

Author SHA1 Message Date
Włodzimierz Skiba
49178e6501 Warning fix about possibly misplaced assignment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 12:40:26 +00:00
David Webster
322d45dd73 New classes for OS/2 and compiler warning suppressions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 04:08:43 +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
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
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
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
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
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
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
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
Michael Wetherell
d3e0ffbcd0 Temporary fix for link error to ~wxZipOutputStream()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 17:07:56 +00:00
Włodzimierz Skiba
da865fdd32 Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 16:10:48 +00:00
Włodzimierz Skiba
8add533eb2 Incomplete setup build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 14:56:08 +00:00
Stefan Csomor
4d7528a1df use EditUnicodeText control for single lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 13:58:51 +00:00
Włodzimierz Skiba
d64dc19704 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 10:23:27 +00:00
Robin Dunn
730d336601 Patch from OSAF that maintains radio button selection if Realize is recalled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 23:08:02 +00:00
Václav Slavík
cecbb4ec6b fixed typo in dynamic cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 14:20:25 +00:00
Dimitri Schoolwerth
6d8edd32b5 fixed cases where __WXMAC_CLASSIC__, __WXMAC_CARBON__, and __WXMAC_OSX__ were being treated as 0/1 value instead of (un)defined symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 10:34:56 +00:00
Robin Dunn
98719eabe0 Don't include the nul byte when copying to the clipboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 23:53:04 +00:00
Robin Dunn
29998406a8 Use the validator given
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 22:57:32 +00:00
Michael Wetherell
561488efd4 The octal escaping code needs to escape the escape character
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 21:20:11 +00:00
Michael Wetherell
9af00f5f79 OpenWatcom fixed the problem of fileno being missing, and so it should be
there in OW 1.4 when it comes out.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 20:39:44 +00:00
Julian Smart
db28c33ca2 Should return wxImage not bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 19:30:16 +00:00
Kevin Hock
1804e89886 Remove unused variable "Point topleft" in ScrollRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 18:20:03 +00:00
Stefan Csomor
823c4e96f9 always forcing a relayout when position changes, making mlte a system option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 16:38:14 +00:00
Stefan Csomor
c9698388a2 invalidating vis regions upon tlw resize as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 13:41:48 +00:00
Václav Slavík
f9bf0c6512 there's no reason to do wxRTTI lookup twice when once is enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 13:24:32 +00:00
Julian Smart
27e7e85984 Cross-hair cursor appears as an I-beam on WinXP for some reason;
use cursor file instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 11:36:31 +00:00
Julian Smart
4791fafb6d Removed unnecessary casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 09:32:30 +00:00
Julian Smart
6def7a17b0 Not all implementations of wxMDIChildFrame derive from wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 09:24:04 +00:00
Ryan Norton
4cc52142b8 Update wxURI for RFC 3986
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 03:48:08 +00:00
Vadim Zeitlin
646a8a4d0e make it possible to change the text of the item being edited from OnBeginLabelEdit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 00:27:52 +00:00
Julian Smart
750d64e653 WinCE apparently should not have rectangle adjusted if using transparent pen
(droppings left on Life! canvas when drawing with a transparent pen)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 23:01:28 +00:00