Commit Graph

3653 Commits

Author SHA1 Message Date
Vadim Zeitlin
6f86c8af60 warn that GetMenu() may return NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 01:31:55 +00:00
Vadim Zeitlin
4626c57c58 1. changed wxStringTokenizer to not modify the string we're iterating over
but to just update our position in it (makes the code much more clear)
2. added GetLastDelimiter() to make up for lack of mode combining
   wxTOKEN_RET_EMPTY_ALL and RET_DELIMS
3. documented it and added unit tests for it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:12:54 +00:00
Julian Smart
398c701f70 Fixed problem trying to print from a preview, whereby wrong printer
class was used instead of Gnome printer class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 20:38:47 +00:00
Vadim Zeitlin
a44fb285c5 documented Set/GetIcon(), added (not quite pure) virtual GetIcon() in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 13:56:23 +00:00
Julian Smart
62bdd4db0e wxMac changes documented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 12:04:11 +00:00
Włodzimierz Skiba
a71d815bbe __WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always defined for WXMSW so useless). Minor cleanings and corrections for correct #includes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 10:47:44 +00:00
Mart Raudsepp
b19d928925 timer.tex: wxTimerEvent is derived from wxEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 00:34:13 +00:00
Vadim Zeitlin
f107837e78 documented Set/GetLabel() treatment of mnemonics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 16:39:18 +00:00
Julian Smart
3d941982de Added space after list item number, otherwise number is hard against following text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 12:22:20 +00:00
Stefan Neis
a452689b23 Use thread-safe functions where possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-17 22:01:43 +00:00
Julian Smart
7dbe942aaa Fixed MDI context menu event handling problem (Stefan Kowski)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-16 14:52:57 +00:00
Mart Raudsepp
7261746aae image.tex: s/set.to/set to
function.tex: fix Vadim's label for wxSUPPRESS_GCC_PRIVATE_DTOR_WARNING


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-16 00:37:30 +00:00
Julian Smart
e8615999dd Fixed wxFileDialog breakage on WinCE due to incorrect structure size, and
added correct error testing for WinCE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 11:20:09 +00:00
Vadim Zeitlin
d1e1aa64cc removed obsolete reference to wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 01:45:03 +00:00
Włodzimierz Skiba
2ad495fb65 wxDisplay support for wxWinCE port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 14:40:26 +00:00
George Tasker
90e7e2775f Updated to state INNER join rather than OUTER join
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 00:28:16 +00:00
Michael Wetherell
b974b0da43 Let TARGET_CPU work with either upper or lower case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 20:13:48 +00:00
Vadim Zeitlin
066a357890 IsItemShown/Enabled() are now implemented on more platforms than just wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:29:10 +00:00
Vadim Zeitlin
b47f1f95f3 added wxSUPPRESS_GCC_PRIVATE_DTOR_WARNING macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:31:19 +00:00
Vadim Zeitlin
21e0a4d5f1 1. moved m_majorDim duplicated in many ports to wxRadioBoxBase
2. also implement Getcolumn/RowCount() in it now and document them
3. removed various remains of old (pre-wxRadioBoxBase) cruft

sorry in advance for any compilation breakage on the platforms I can't test on


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:28:15 +00:00
Vadim Zeitlin
dc7a2021d5 corrected GetChildren() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 15:27:46 +00:00
Vadim Zeitlin
42413abf11 removed sentence about ParseDateTime() not being implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 13:32:14 +00:00
Michael Wetherell
7ab86a6a27 Make behaviour of Eof() more consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 13:14:00 +00:00
Vadim Zeitlin
3bfa7be977 added wxRadioBox::IsItemEnabled/Shown() (for MSW only for now, other platforms to come); corrected Enable/Show() return values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 19:26:38 +00:00
Michael Wetherell
bf085665fd It seems that wxFileInput/OutputStream now report eof after the last byte has
been read past, so change docs to match.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 14:09:01 +00:00
Mart Raudsepp
da9e956384 Make wxJoystick::GetNumberJoystick a static method, as the number of
joysticks attached to the computer is a global property, not one of the
specific instance. Patch from Lauri Nurmi.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 12:50:13 +00:00
Vadim Zeitlin
3d971ca9f1 fixed Write() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 10:29:37 +00:00
David Surovell
0c38974967 added wxMac comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 16:11:59 +00:00
Włodzimierz Skiba
717870a64c wxGetUserName for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 10:01:20 +00:00
Vadim Zeitlin
aae53500af removed non-const wxFontData::GetColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-21 21:28:40 +00:00
Vadim Zeitlin
50a32a83d7 documented HasFlag()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-21 19:41:17 +00:00
Michael Wetherell
ab0f0eddc4 Use re_search directly instead of regexec when using the GNU regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 17:25:33 +00:00
Julian Smart
1599f54eaa Typo corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 15:22:17 +00:00
Vadim Zeitlin
69d313011b corrected SeekEnd() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 14:26:50 +00:00
Mart Raudsepp
90e572f1e5 Spelling fixes from Andreas Mohr (patch #1360064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 01:07:56 +00:00
Julian Smart
46cbb21ecb Fixed problem with choice editor in wxGrid whereby the editor
lost focus when the combobox menu was shown.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 17:43:15 +00:00
Włodzimierz Skiba
1ac74d83a3 Fixes for bugs #1218219 and #1218254.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-17 14:36:32 +00:00
Włodzimierz Skiba
5e06d749ed Finally removes occurences of OnMenuCommand and closes bug #1164678
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-16 17:27:38 +00:00
Michael Wetherell
c9eee7f035 Add a length parameter for wxRegEx::Matches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 15:51:10 +00:00
Włodzimierz Skiba
83cda8eb0a Helpful references.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 21:47:08 +00:00
Włodzimierz Skiba
394b206f07 Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 21:26:24 +00:00
Włodzimierz Skiba
ce82ff93d3 Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 11:53:06 +00:00
Włodzimierz Skiba
08b9726806 Resize all top level windows when SIP changes visibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 11:46:24 +00:00
Julian Smart
ece291c7d2 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-11 14:46:16 +00:00
Vadim Zeitlin
e710277282 added wxKeyEvent::GetModifiers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 11:59:47 +00:00
Michael Wetherell
b46d37d75c Update the build instructions for Win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 14:17:31 +00:00
Włodzimierz Skiba
5ec5e8cedb More obsolete compatibility removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 19:59:51 +00:00
Vadim Zeitlin
6dc2a916df fix memory leak of pending events in wxEvtHandler dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 00:45:46 +00:00
Mart Raudsepp
56aed4aace Fix formatting tag in frame.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 18:23:51 +00:00
Mart Raudsepp
d37e85cd9b Fix formatting in bbutton.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 18:21:49 +00:00