Commit Graph

3666 Commits

Author SHA1 Message Date
Robin Dunn
7dd40b6f4b Added wxGetMouseState which returns the current state of the mouse.
Returns an instance of a wxMouseState object that contains the current
position of the mouse pointer in screen coordinants, as well as
boolean values indicating the up/down status of the mouse buttons and
the modifier keys.  Implemented for wxMSW, wxGTK and wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 04:31:27 +00:00
Vadim Zeitlin
b10ca83467 Initialize() returns bool, not void
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 00:06:13 +00:00
Vadim Zeitlin
2ad97616eb document that font set with SetFont() is not automatically used by wxPaint/Client/WindowDC associated with the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 23:30:06 +00:00
Vadim Zeitlin
04905cca87 GetFont() only works after SetFont()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 23:28:36 +00:00
Michael Wetherell
395936d860 Mention rcdefs.h in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 19:42:29 +00:00
Michael Wetherell
c6bb92550b Update changes.txt with recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 19:37:12 +00:00
Julian Smart
f14d6dd133 Added caption parameter to wxGetFontFromUser and wxGetColourFromUser.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 14:26:36 +00:00
Vadim Zeitlin
80b1853f9e fixed typo in event name (bug 1394834)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-01 18:44:06 +00:00
Kevin Hock
2a7d0c10c3 Remove obsolete GetForce
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-29 02:01:33 +00:00
Vadim Zeitlin
e72d82bb29 mention wxDC change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-27 15:00:32 +00:00
Václav Slavík
3c115835b3 added support for <sub> and <sup> to wxHTML (based on patch #1263152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-27 00:00:39 +00:00
Vadim Zeitlin
8e3e14c487 also generate wxEVT_SCROLL_CHANGED as under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 02:55:03 +00:00
Vadim Zeitlin
76471ff7f5 implemented wxCURSOR_BLANK (bug 1377290)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 02:02:33 +00:00
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