Commit Graph

38883 Commits

Author SHA1 Message Date
Vadim Zeitlin
e74d43ab63 compilation fix for 64 bit platforms (where size_t is not unsigned int)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:03:34 +00:00
Vadim Zeitlin
18138662ef update the popup menu item when it's [un]checked too, as it already happens for the items in the main menu bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:58:11 +00:00
Vadim Zeitlin
bb596005f5 wxTopLevelWindow::GetClientSize() returns 0x0 when the window is minimized under wxGTK too now; documented this behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:27:26 +00:00
Vadim Zeitlin
d43eb2a0d5 return the restored window size from GetSize() when window is minimized (for consistency with wxGTK and also for convenience)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:21:06 +00:00
Vadim Zeitlin
1e93d59553 changed GetFromWindow() to take const pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:13:22 +00:00
Vadim Zeitlin
2ee322d90c corrected version in the libraries names: it's only 2 digits even in development branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 23:50:43 +00:00
Vadim Zeitlin
a6cdd52188 make GetSize() return the size of the window including the decorations and updated SetSize() to account for this as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 23:44:52 +00:00
Vadim Zeitlin
676e9e35f2 fix compilation with WXWIN_COMPATIBILITY_2_6 off (and probably a bug)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 13:48:45 +00:00
Julian Smart
b9dac1ab88 Don't optimize if there are child windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 09:40:54 +00:00
Julian Smart
a61c912241 Reverted renderer changes and just use window variant within renderer functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 14:05:11 +00:00
Vadim Zeitlin
e0666bdc7b added EVT_MOUSE_CAPTURE_LOST handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 01:36:10 +00:00
Julian Smart
48e9cac2ad Updated the mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 21:45:07 +00:00
Julian Smart
f8e1a81f3e Added size constants to allow drawn control parts to match the window variant,
initially on Mac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 17:16:24 +00:00
Mart Raudsepp
de4a74e2d0 Do not declare GTypeInfo instances static. This is completely unnecessary and just causes unnecessary extra relocations and global stack memory usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 16:12:06 +00:00
Chris Elliott
58261d9a7a remove out of date files (for dmc and 2.4 wxW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:34:57 +00:00
Vadim Zeitlin
53143e5480 not needed any more now that this directory is not used for building anything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:16:34 +00:00
Vadim Zeitlin
084314581d removed obsolete batch files for building wx with obsolete makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:15:42 +00:00
Vadim Zeitlin
114cdc750b removed obsolete makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:09:45 +00:00
Vadim Zeitlin
f10b672bd8 remove USE_GENERIC_TBAR test: USE_GENERIC_TBAR is not defined anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:05:23 +00:00
Vadim Zeitlin
26ef973fa2 fixed incorrect use of UpdateUI handlers; don't use duplicated Ctrl-S accel for two menu items; use the old label value by default when asking for the new one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 15:04:24 +00:00
Vadim Zeitlin
b33df83245 removed the old tmake project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:37:27 +00:00
Vadim Zeitlin
f9b5691a1b added const overload of GetChildren()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:27:25 +00:00
Vadim Zeitlin
86ed9a0dc7 define wxUSE_DATEPICKCTRL_GENERIC as 0 if it's not defined already
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:24:17 +00:00
Vadim Zeitlin
afbd54e0d7 fixed unreachable code warning in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:17:37 +00:00
Vadim Zeitlin
efb2c52f8c fixed what looked like a typo in hit code testing in wxRichTextCtrl::OnMoveMouse()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:15:52 +00:00
Vadim Zeitlin
35c7138631 corrected return value and skipped flag setting in wxScrollHelperEvtHandler::ProcessEvent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 02:26:59 +00:00
Robin Dunn
4976f9967a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 21:44:44 +00:00
Vadim Zeitlin
365271b573 update the text of a read-only combobox (and hence wxChoice) when selection is changed too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 17:39:43 +00:00
Vadim Zeitlin
ddaa6e899b fix unused variable warning with wxUSE_TOOLTIPS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 17:04:02 +00:00
Robin Dunn
3c69a2ec86 merge from 2.8 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 16:24:56 +00:00
Vadim Zeitlin
9c49977bd6 define wxUSE_ACTIVEX, not (non existent) wxUSE_OLE_ACTIVEX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 16:07:56 +00:00
Václav Slavík
0e6383ef7e fixed makefile.rsp to include samples/Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 13:55:45 +00:00
Julian Smart
aeb6ebe2a5 Added flag for removing attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 12:24:17 +00:00
Julian Smart
a1c882c99d Removed unnecessary assignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 12:21:42 +00:00
Chris Elliott
ef5fcb0905 fix for bug reported at http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?8:mss:97233:200702:jkocpijdefodmmdphebn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 10:24:25 +00:00
Robin Dunn
ae4ccf12b6 rebaked after changing the version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 02:14:45 +00:00
Robin Dunn
6cd674726b Fix unused param warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 01:47:37 +00:00
Robin Dunn
ba142bfbfa Add wxHL_* styles
(ported from 2.8 branch)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:54:33 +00:00
Robin Dunn
ff7282e135 Allow wxWANTS_CHARS to be effective on native controls too
(ported from 2.8 branch)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:53:50 +00:00
Robin Dunn
e6cac2dff4 Reset g_lastMouseEvent after processing the mouse button release event
(ported from 2.8 branch)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:53:09 +00:00
Robin Dunn
25107357ef Don't capture the mouse until after the possible wxEVT_GRID_CELL_BEGIN_DRAG event.
(ported from 2.8 branch)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:52:23 +00:00
Robin Dunn
b5dc8fdbfd use ChangeValue instead of SetValue to avoid bogus EVT_TEXT events
when just setting the descriptive text.
(ported from 2.8 branch)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:14:42 +00:00
Robin Dunn
4f767c1e8f Set version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:13:44 +00:00
Robin Dunn
bbd321ffc2 Added SetToolNormalBitmap and SetToolDisabledBitmap
(ported from 2.8 branch)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:13:03 +00:00
Robin Dunn
0daf5e6be2 Fill in more details for the wxEVT_STC_AUTOCOMP_SELECTION event
(ported from 2.8 branch)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 21:11:45 +00:00
Robin Dunn
7fd3acaf54 Set version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 19:58:27 +00:00
Roman Rolinsky
75aa19469b Version 1.8-0
New feature added from a patch submitted on sourceforge by botg:
moving of tree items.

Bugs fixed:
- ChecklistBox content editing;
- Window styles more in sync with the docs;
- Replacing items;
- Reference property page created correctly (every property is
  optional).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 15:40:32 +00:00
Włodzimierz Skiba
750040fabb Fixed wxComboBox always sorted in all univ builds (see wxforum.shadonet.com/viewtopic.php?p=53661)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 12:12:10 +00:00
Włodzimierz Skiba
162f6b2aee wx/log.h belongs to pch system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 08:15:05 +00:00
Paul Cornett
d6c11fa975 simplify wxGTK DoSetSizeHints logic, respect size increments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 04:59:29 +00:00