Vadim Zeitlin
4fe82ce139
kbd traversal code now knows that DLGC_WANTALLKEYS implies DLGC_WANTTAB/ARROWS; this fixes the problem with editing a list/tree ctrl item in place -- you could TAB out of it before
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 22:24:12 +00:00
Vadim Zeitlin
51dbcf35ff
call SetFocus() in WM_LBUTTONDOWN handler for the wxWindows controls (not standard ones)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 21:33:01 +00:00
Vadim Zeitlin
0debb1231a
mention wxNB_MULTILINE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 20:41:26 +00:00
Vadim Zeitlin
bbce9725f5
woodoo workaround for the bug 616803: crash when showing a dialog with notebook with wxNB_MULTILINE style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 20:37:07 +00:00
Vadim Zeitlin
8ce31375f2
fixed wxfileDialog::SetPath() (which didn't do anything before)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 20:20:57 +00:00
Vadim Zeitlin
d4ffadcd7c
reverted the last change -- what was it for?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 11:45:42 +00:00
Robert Roebling
372b0e766c
Applied patch to fix colour probs under wxGTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 20:48:16 +00:00
Robert Roebling
c6de9c117b
Added work-around/fix for redraw bug in idle handler.
...
I now send internal idle calls whereas normal idle
events still get block by the recursion block.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 20:10:14 +00:00
Gilles Depeyrot
af0cf516b0
added SIZEOF_INT to Project Builder prefix header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 18:45:11 +00:00
Vadim Zeitlin
c20c9f8034
made the configure summary message a bit more pretty
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 16:47:26 +00:00
David Webster
e722a0b9d9
Need to set the m_isShown flag properly during a call to ::Show.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 13:53:38 +00:00
Julian Smart
8c92ffaa71
Removed references to wxBuffer from wxSlider, and
...
ensured that the slider doesn't use a potentially
uninitialised buffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 10:28:06 +00:00
Ron Lee
6bd20f9d73
fixed long lost typo uncovered by Gilles output summary. Is it ever bad
...
to add more of these things :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 05:24:14 +00:00
Robin Dunn
7a0afd5cfe
Turn off the test case for normal use
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 02:11:56 +00:00
Robin Dunn
7fbab51529
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 02:00:19 +00:00
Robin Dunn
dad0803d48
Removed Command() but left an alias
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 00:44:55 +00:00
Robin Dunn
3f7406ab30
it helps if you actually return the return value!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 00:42:03 +00:00
Robin Dunn
9312e5d6db
wxASSERT and others are converted to Python Exceptions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 00:40:31 +00:00
Gilles Depeyrot
1d4874621e
added a configure summary trailer to report on main configuration options
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-03 20:46:45 +00:00
Robin Dunn
7d1ab59731
Avoid assert when the position to be removed is beyond the end of the
...
list and just return FALSE as documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-03 19:50:39 +00:00
Vadim Zeitlin
3512d53ddd
added a WXWIN_COMPATIBILITY_2_2 test around deprecated Command() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 23:33:01 +00:00
Vadim Zeitlin
a275e42188
delete the hidden TLW parent window from a module to ensure that it is done even if OnInit() returns FALSE; also create it without using wxTLW itself which actually simplifies the code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 23:32:23 +00:00
Julian Smart
1681cdd7f1
Regenerated configure for -lm patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 14:16:32 +00:00
Julian Smart
690df84c1c
Applied patch [ 617303 ] add -lm only when it's needed
...
(will commit configure shortly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 14:09:28 +00:00
Julian Smart
8eca8095e4
Applied patch [ 617262 ] ListCtrl ResetVisibleLinesRange missing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 14:03:43 +00:00
Julian Smart
db2995da83
Applied patch [ 616406 ] wxGenericDirCtrl: virtual methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:57:29 +00:00
Julian Smart
f93107bcae
Applied patch [ 615769 ] generic wxListCtrl enhancements
...
implemented a couple of things missing from the generic
wxListCtrl class which make it more similar to the
Windows port
1) implemented wxLIST_FORMAT_RIGHT and wxLIST_FORMAT_CENTER
2) added an ellipsis (...) to the end of the string and
shortened the string to fit inside the allowed width
3) left a margin of 8 pixels between columns so that
the text is not shoved right together
Note this is my first patch to wxWindows. I did read
the patch howto and I think I got it right but please
feel free to bother me about any discrepancies. In
addition, I am not sure if the way I implemented the
new routine to handle the formatting is adequate
performance wise but it doesn't seem to slow things
down too badly on my machine... :-) In addition, if
this routine is accepted, it could also be used for the
header data as well -- thoughts?
Anthony Tuininga
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:54:09 +00:00
Julian Smart
ace9a61933
Applied patch [ 615993 ] CW7 project file patch for v2.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:49:07 +00:00
Julian Smart
97ea5edb3d
Applied [ 612802 ] wxSplitterWindow::Unsplit() in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:46:58 +00:00
Julian Smart
d0fd5a294d
Applied [ 611204 ] Fixes wxSlider thumb grabbing area
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:44:21 +00:00
Julian Smart
af2e6a4295
Applied patch [ 613113 ] "GDI Object" leak in wxOwnerDraw
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:42:23 +00:00
Julian Smart
6397b59b65
Applied patch [ 609516 ] AutoSize does not remove scrollbars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:38:50 +00:00
Julian Smart
fe3f379193
Applied [ 609518 ] wxImage: const comp. operators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:35:52 +00:00
Julian Smart
44b283fef0
Applied patch [ 609361 ] wxDocument::UpdateAllViews()
...
The sending view won't be updated now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:33:36 +00:00
Julian Smart
5aedd93815
Applied patch [ 613433 ] Makes wxFN::Get/SetTimes work w/ Cygwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:31:18 +00:00
Julian Smart
742e672095
Applied patch [ 613877 ] Fixes word ordering
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:27:46 +00:00
Julian Smart
fc0322d338
Applied patch [ 617438 ] ListCtrl-Sample crashing on sort
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:26:18 +00:00
Julian Smart
dd0d47090a
Applied patch [ 610076 ] wxX11&wxGtk fail with --disable-compat22
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:24:33 +00:00
Julian Smart
fdfc424e32
Reordered font setting since on wxX11 a mem DC is not valid
...
until the bitmap is selected into it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 08:11:27 +00:00
Julian Smart
4d1c976da4
Made compilable with --disable-compat22
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 07:54:15 +00:00
Robin Dunn
9d43a2054e
SWIGged updates for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:27:21 +00:00
Robin Dunn
970a937c34
Added wxHtmlFilter
...
Also some minor tweaks and additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:24:38 +00:00
Robin Dunn
8d5e66bc14
Fixes so this sample can be used with wx DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:16:49 +00:00
Robin Dunn
ce500334d8
Added STCDLLEXPORT so wxSTC could be built and used as a DLL.
...
Fixed DoAddChar handling in unicode mode to translate the char to UTF8
if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:15:07 +00:00
Vadim Zeitlin
f50b6e1d9b
fixed more bugs in SetDirectory/Path/Filename() and centralized m_static update code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 18:43:23 +00:00
Ron Lee
292cc8c93e
The menubar dynamic sizing patch broke any app which adds an empty
...
menubar and populates it later. Since this is (or at least was)
a valid way to use wxMenuBar before that, we need to recalculate
the size whenever it might change. (We probably need to do it
anyway for this to be completely useful). This patch isn't the
cleanest or most efficient way to do that, but it's a minimal
change on a new feature that at least restores compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 15:13:44 +00:00
Robert Roebling
5aee9bc480
Put StringMatch() into #if win_comp_2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 10:30:22 +00:00
Robert Roebling
4ffb82ac32
No leading space in toolbars for GTK 2.0 since they
...
are drawn as lines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 09:24:37 +00:00
Robert Roebling
58b5a13da5
Very incomplete Unicode support for wxTextStream.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 20:48:44 +00:00
Robert Roebling
b1b937339c
GTK 2.0 is VERY picky about the realize/map/set_parent order.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 19:30:52 +00:00