Commit Graph

44707 Commits

Author SHA1 Message Date
Vadim Zeitlin
a6ac49b198 avoid duplicating wxWindow::HandleCommand() in wxFrame, only handle the commands for the frame menu bar elements there: this avoid generating duplicate events if a command event handler skips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 20:51:16 +00:00
Václav Slavík
2587df2c82 reverted Robert's premature removal of deprecated 2.6 functions in r54490
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 19:06:06 +00:00
Stefan Neis
2ac47b9e4b Added missing include (#9625).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:23:14 +00:00
Paul Cornett
bbe28fbb83 mark long-deprecated methods as such, and don't use them in wx code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:23:01 +00:00
Stefan Neis
0d65494402 Experimental simplification of the code by using MWERKS version
for all compilers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:05:33 +00:00
Robert Roebling
961d941c0d Remove 2_6 compatibility code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 10:58:38 +00:00
Robert Roebling
dc874fb4ce Use t_str() instead of c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-04 14:05:16 +00:00
Robert Roebling
90ae878ffc Ticket #9689 (new defect)
Opened 33 hours ago
Documentation Corrections for \interface\wx\notebook.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-04 08:02:33 +00:00
Robert Roebling
6ad68ad8c8 added wxString.t_str() and used it in filefn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-04 07:56:32 +00:00
Robert Roebling
c6867dcd51 Make wxMSW wxBase compile in UTF-8 mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 20:34:51 +00:00
Vadim Zeitlin
fe048d7736 handle FNERR_INVALIDFILENAME which happens if an invalid file name is passed to wxFileDialog (#9688)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 16:04:48 +00:00
Vadim Zeitlin
67cb1dfa7f support disabling items before adding them to the menu (#3423)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 15:42:18 +00:00
Vadim Zeitlin
8a3608697f don't ignore changes of empty string to 0 or vice versa in float grid cells (#2802)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 15:37:35 +00:00
Robert Roebling
afe442339e wxMac wxDataViewCtrl no border patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 14:29:16 +00:00
Robert Roebling
6307d716cf further xxx_str() clarification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 13:44:55 +00:00
Robert Roebling
b2ceedadb1 Corrected c_str() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 12:13:40 +00:00
Vadim Zeitlin
6bfc18d016 don't use @true and @NULL inside of @code sections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-02 14:45:57 +00:00
Robert Roebling
1975440bf7 Tried to make wxListBox::Update() work, typo corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-02 10:46:16 +00:00
Robert Roebling
937fc7dbea Tried to make wxListBox::Update() work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-02 08:15:28 +00:00
Robert Roebling
ac66fda2c7 #9675: wxDataViewModel::Reset() and scrollbar problem (wxMac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-02 08:10:58 +00:00
Vadim Zeitlin
6b81a8eabe compilation fix for PCH-less build after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 16:09:44 +00:00
Vadim Zeitlin
48fbe8ee0c change not only the focus but also last remembered TLW focus in SetValue() to avoid focus being reset to the wrong radio button when TLW regains activation (#9676)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 15:49:44 +00:00
Robert Roebling
397e7f9829 Add code for parsing globs file in /usr/local as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 10:04:35 +00:00
Robert Roebling
d8a57f5ebf Add code for parsing globs file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 09:59:23 +00:00
Robert Roebling
05f616efaa Add stub for parsing globs file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 09:28:08 +00:00
Robert Roebling
c1d97593ed Restore wxFile docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 08:48:17 +00:00
Robert Roebling
d39e2bbcf7 Remaining conversion to read-only XDG MIME types code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 08:31:50 +00:00
Robert Roebling
f369c7c284 Corrected mime types docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 08:30:28 +00:00
Vadim Zeitlin
3cdd564fb9 quote the arguments containing spaces or quotes correctly in wxExecute(char **) overload (#4115)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 00:05:36 +00:00
Vadim Zeitlin
d002ff4e31 remove unused exec.rc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 23:48:54 +00:00
Vadim Zeitlin
386a2898e3 fix a hang up in wxExecute(wxArrayString& output) overload (#4380)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 23:37:56 +00:00
Vadim Zeitlin
e974c5d258 implement wxListCtrl::GetSubItemRect() for generic version and fix bug in it in wxMSW one; also added a test for it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 18:21:33 +00:00
Vadim Zeitlin
a2fd8a45ec VC6 compilation fix: using access declaration can only be used with immediate base class members with this compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 13:40:08 +00:00
Robert Roebling
29886d1bf8 Removed most of the pre-XDG MIME code from the Unix implementation, many speed-ups by simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 11:58:41 +00:00
Julian Smart
c268eb3272 Further style preview fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 09:42:41 +00:00
Vadim Zeitlin
f95abb9d3d blind fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 22:11:52 +00:00
Vadim Zeitlin
099f7f787b add Scintilla.iface to the distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 22:05:47 +00:00
Vadim Zeitlin
619ddbbe36 compilation fix for ASCII STL build (#9661)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 21:46:29 +00:00
Julian Smart
2a94806c9a Corrected problem of wrong paragraph receiving style in formatting dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 17:03:45 +00:00
Stefan Neis
86647b53e9 Don't force ColWidth to always grow for wxGridCellAutoWrapStringRenderer (#1798)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 15:14:42 +00:00
Vadim Zeitlin
6a8d793736 add a new menu for wxTextEntry-specific tests, currently it allows to check how auto-completion works (#9614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:35:35 +00:00
Vadim Zeitlin
b64845917a don't call SetInsertionPointToEnd() on read-only combobox in wxGridCellChoiceEditor::Reset() neither (this had been already fixed for StartEdit() before) (#8843)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:19:44 +00:00
Vadim Zeitlin
929b79014a support wxListCtrl::GetViewRect() in report view too; test it in the sample (#9484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:12:12 +00:00
Vadim Zeitlin
24b67be4c6 fix --disable-optimise configure option description (#9660)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 23:18:10 +00:00
Vadim Zeitlin
d035e423e4 don't ignore changes of empty string to 0 or vice versa in float grid cells (#4764)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 23:14:35 +00:00
Vadim Zeitlin
2ccc6650ca support wxDP_ALLOWNONE in generic wxDatePickerCtrl (#3164)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 18:58:07 +00:00
Vadim Zeitlin
f3beaa9908 forward port 2.8.8 changelog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 18:56:14 +00:00
Vadim Zeitlin
053ac76fa2 deprecate wxTE_AUTO_SCROLL as it's always on in the ports which support it anyhow (#2176)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 18:18:54 +00:00
Vadim Zeitlin
ec27ba21ed don't activate items on Alt-Space or Alt-Enter (#9615)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 01:49:44 +00:00
Vadim Zeitlin
4095fb14c4 don't call OnData() if OnEnter() rejected the drag (#9634)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 01:40:42 +00:00