Commit Graph

17676 Commits

Author SHA1 Message Date
David Surovell
586031781c cleanup - reformat; minor code tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 19:02:39 +00:00
Stefan Csomor
a319ce7d74 layout adaptions for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 11:26:07 +00:00
Stefan Csomor
5e02e8e870 transparent grow box for dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 11:24:34 +00:00
David Surovell
04c3457ae3 ported KO's v262 change forward
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 08:46:08 +00:00
David Surovell
c88b7d288c cleanup - reformat (part 3)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 08:38:57 +00:00
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
Stefan Neis
18a1de69aa Temporarily disabled OS/2 specific code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 01:00:34 +00:00
David Surovell
0207e9693c cleanup - reformat (part 2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 00:43:32 +00:00
Stefan Neis
53758b0fc1 Fixed sizing and positioning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 23:27:16 +00:00
Stefan Neis
2240212390 Minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 23:05:18 +00:00
Stefan Neis
22c685813c Better default sizes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 22:54:37 +00:00
Stefan Neis
3a339c0dfd Cache slider size in DoSetSize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 22:49:55 +00:00
Stefan Neis
37ac8a5f21 Fixed label handling (translating for accelerator handling only for relevant
classes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 22:46:06 +00:00
Stefan Neis
713d144145 Improved size handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 22:37:54 +00:00
Stefan Neis
a917d2149e Fixed sizing and positioning, simplifying code (too much?) in the process.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 22:19:06 +00:00
David Surovell
fef981b4df cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 18:10:31 +00:00
Michael Wetherell
318ac890b6 Fix control and shift key event flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 14:17:53 +00:00
Stefan Csomor
f3b2e2d719 remove sizing controls when being in fullscreen mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 11:52:52 +00:00
Stefan Csomor
9761ab4338 increase min size to make all scrollbar controls visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 11:49:01 +00:00
Stefan Csomor
01b5ab3367 starting blend modes for Core Graphics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 11:43:45 +00:00
Stefan Csomor
489d2dd393 factoring out Background setter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 10:34:34 +00:00
David Surovell
6eaa4426e0 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 09:36:36 +00:00
David Surovell
991f71dcc8 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 08:19:13 +00:00
David Surovell
4792d19265 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 05:21:30 +00:00
David Surovell
6eae1f7d48 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 03:14:01 +00:00
David Surovell
bcb3a16447 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 23:11:20 +00:00
David Surovell
fdd4e6cca8 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 22:06:25 +00:00
Stefan Neis
59fb774d92 Applied patch #1396039 (Notebook tab bitmaps)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 16:52:50 +00:00
Julian Smart
224016a800 Added wxAddGrab, wxRemoveGrab for use by popup window implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 16:37:32 +00:00
Stefan Neis
71b4a9b878 Added thread-safe wrappers for get{host,serv}by{name,addr} to replace the
currently still used unsafe versions once possible compilation
        problems are sorted out.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 16:36:20 +00:00
Stefan Neis
be9d986943 Applied patch #1395526 (Autoradiobutton corrections)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 11:49:09 +00:00
Stefan Neis
02d6f1bd31 Fixed bug introduced by previous change (patch #1395852)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 11:08:11 +00:00
David Surovell
7ad25aed02 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 04:36:25 +00:00
David Surovell
a0bd314786 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 22:45:50 +00:00
Stefan Neis
ad4e3f7be6 Use system colours
Fixed handling of scrollbar heigh/width


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 21:26:13 +00:00
Stefan Neis
a12f464799 Improved support for system colours and scrollbar widths/heights
acoording to patch #1395329.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 19:37:11 +00:00
Stefan Neis
6415637cb0 Choose a legal default font on DC creation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 16:32:12 +00:00
Stefan Neis
42782237f2 Some minor corrections (typos, return value handling).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 16:17:43 +00:00
Michael Wetherell
e90d93d1b4 Add comments about the pango crashes on Solaris 10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 15:42:24 +00:00
Julian Smart
b26e7b714d Removed no longer needed code to fix combo sizing (causes layout problems on Windows)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 14:28:37 +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
Jamie Gadd
99c613c5c4 Make radiobuttons siblings instead of children in radioboxes again and remove refresh hack. Fixes bug #1387591.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 11:03:28 +00:00
David Surovell
25eb6881f7 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 02:29:16 +00:00
David Surovell
904ffc03c2 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 02:10:24 +00:00
David Surovell
1d731fcdb9 added runtime protection for no SL_LABEL style case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 00:12:55 +00:00
David Surovell
295dec28c3 relaxed ReadGIF error checking as per review
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-01 20:19:13 +00:00
Vadim Zeitlin
648d8a8720 fixed VC7 unreachable code warning (given even in debug build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-01 01:47:19 +00:00
Vadim Zeitlin
7889b795ca don't set frame size to maximized one if we're restoring it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-31 19:59:39 +00:00
Stefan Neis
5b52a68426 No obnoxious warnings if threading is disabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-31 18:56:32 +00:00
David Surovell
962a48f6f9 fix wxMac-QD - blank focusesed text; minor reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-31 09:19:15 +00:00
David Surovell
8523a5f544 minor reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 19:01:34 +00:00
David Surovell
aeaa24d421 two more ReadGIF tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 18:53:40 +00:00
David Surovell
8862315bb9 fixed spelling mistake in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 18:48:00 +00:00
David Surovell
525b0568c9 added protection against corrupted GIFs in ReadGIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 18:38:23 +00:00
Michael Wetherell
203b65dd29 The Sun customised version of Pango shipping with Solaris 10 crashes if the
language is left NULL (bug 1374114)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 13:30:08 +00:00
David Surovell
1cb97a5462 cleanup - reformatting (lots), minor code tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-29 22:23:21 +00:00
David Surovell
cefe588637 cleanup - reformatting, minor code tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-29 19:42:43 +00:00
David Surovell
a536a8bf3f fix MinGW/gcc compilation issue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-29 06:43:26 +00:00
Kevin Hock
5bbca8b037 Remove wxConfig object caching (m_config), which solves dangling pointer problem if the global config object changes (and just makes things simpler)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-29 01:49:55 +00:00
David Surovell
61e6a2ab5e fix MinGW/gcc compilation issue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-28 23:40:21 +00:00
David Surovell
1a70c9e2bf fix SetInvokingWindow link problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-28 23:02:22 +00:00
David Surovell
8a9858aeb2 cleanup - reformatting, minor code rewrites
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-28 06:44:35 +00:00
Vadim Zeitlin
da6205f7fb compilation fix after latest dc.h changes for !WX_PRECOMP case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-27 22:16:05 +00:00
David Surovell
8638e69ba1 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-27 19:50:23 +00:00
Stefan Neis
4b2bdce665 Applied Patch #1390457 (Incorrect wxRadioBox widths & heights).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-27 11:20:46 +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
David Surovell
ea41ff3a56 protect separators against inappropriate state changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-26 18:45:48 +00:00
David Surovell
5977edb9d9 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-26 17:58:27 +00:00
Vadim Zeitlin
024026be1d implemented wxDC::DoGetSize() correctly for metafile DC classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-25 13:06:05 +00:00
Vadim Zeitlin
f81dc6e931 Start/EndDrawingOnTop are still used under Motif, don't deprecate them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-25 12:52:53 +00:00
Vadim Zeitlin
7d09b97f53 disallow creation of wxDC objects and made wxDC an ABC; use wxDCTemp instead of wxDC in wx code; fixed WinCE bug with deleting a DC which should be released in wxListBox::MSWOnMeasure()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-25 02:34:42 +00:00
David Surovell
f23d32554f more cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 17:10:36 +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
2b0246530d determine the slider event type more precisely (i.e. generate LINE/PAGE UP/DOWN and not only THUMBTRACK always) under GTK2 (bug 1377777); also generate THUMBTRACK/RELEASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 02:52:25 +00:00
Vadim Zeitlin
d411c5d611 fixed labels under GTK+ 1 after recent changes (remove underscores from them again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 02:21:00 +00:00
Vadim Zeitlin
defdd88800 GTK+ 1 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 02:20:15 +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
43a11e2a50 moded wxWindow::PopupMenu() from window.cpp to menu.cpp as this allows it to access static functions in menu.cpp; implemented sending of wxEVT_MENU_OPEN/CLOSE for popup menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 01:29:08 +00:00
Vadim Zeitlin
13d3511257 send wxEVT_MENU_CLOSE from menubar deactivate handler, this ensures that the event is sent even when the menu is dismissed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 01:21:27 +00:00
Vadim Zeitlin
cdf003d465 send wxEVT_MENU_CLOSE at least sometimes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:44:57 +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
David Surovell
ec4a2b5df2 more cleanup - added comment regarding possible stipple brush problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 05:16:45 +00:00
Vadim Zeitlin
98cb8dcb0c don't set minimal column width, it should be possible to set it even to 0 if desired (e.g. to hide a column)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 01:00:30 +00:00
Vadim Zeitlin
1440bc7afa added wxRTTI macros to wxControlWithItems: it's not private any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 00:58:32 +00:00
Robin Dunn
ac9251e323 Fix for bug #1266745 and #1387725 in the wxFindReplaceDialog on MSW.
Actually check we are using MSLU before doing the hack designed to
workaround a bug in MSLU!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 23:33:08 +00:00
Václav Slavík
5aad18a52b reverted previous accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 23:11:36 +00:00
Václav Slavík
48e5284db6 wxMac linking fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 23:04:05 +00:00
Vadim Zeitlin
0f3888a5f8 don't overwrite the existing attributes when setting one new one, i.e. SetItemBackgroundColour() after SetItemTextColour() doesn't reset the text colour to default one any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 03:07:48 +00:00
David Surovell
c394a432fa fixed error in prior checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 01:14:06 +00:00
Robin Dunn
fa31aeda87 After a conversaion with Vadim I reverted the last change and instead
just allowed for the specific situation that was incorrectly causing
the assert.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 20:51:14 +00:00
Robin Dunn
d2be15217a Fix for Bug #1387359, bail out early from DoWriteText if the string is empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 20:19:14 +00:00
David Surovell
fbc1d11bde minor cleanup; remove focus patch scaffolding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 19:54:48 +00:00
Vadim Zeitlin
fe224552a9 g++ 4/wxMAC_USE_CORE_GRAPHICS warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 16:12:48 +00:00
Vadim Zeitlin
6c28639791 just added a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 16:11:58 +00:00
Dimitri Schoolwerth
6f72133189 fixed compile errors (code was using unnamed objects, resulting in compiler ambiguity)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 16:52:36 +00:00
Dimitri Schoolwerth
769627d79e fixed unreachable code warnings (occurred in MSVC6+Release mode)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 14:25:36 +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
0b6d76bfd4 don't crash when XIM is used under IRIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 16:06:31 +00:00
Vadim Zeitlin
c8a448977c removed DllMain(): we don't even compile it with any compiler but VC8 and with VC8 it results in a crash; we need another way to make it possible to use wx DLL from another DLL, this one is flawed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 14:34:12 +00:00
Vadim Zeitlin
333c869716 return a valid bitmap from GetBitmap() even if we created an icon internally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 13:46:23 +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
Vadim Zeitlin
634fb75048 fix for compilation without PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 10:03:04 +00:00
David Surovell
18f5234f0c removed unused local variable; converted tabs to spaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 03:51:34 +00:00
Kevin Ollivier
89c8318014 Allow wx parents a chance to handle events fired by non-wx children. (i.e. wxActiveX controls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 01:39:54 +00:00
Vadim Zeitlin
cba1c2ca12 assert if opening more than one find/replace dialog under the same parent -- this doesn't work currently (and maybe can't work at all)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 22:33:35 +00:00
Stefan Neis
cf44a61c24 Added implementation for wxLocaltime_r/wxGmtime_r.
Improved handling of windows compilers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 19:24:11 +00:00
Vadim Zeitlin
b2ff89d648 1. changed wxControl::GetLabel() to return the originally provided label and
not the one stripped from mnemonics (this was inconsistent with the other
   ports and resulted in problems when using wxUpdateUIEvent::SetText())
2. added wxControl::GTKConvertMnemonics(), GTKRemoveMnemonics() and also
   helper GTKSetLabelForLabel() and GTKSetLabelForFrame() wrappers
3. use them instead of duplicating their code in different derived controls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 16:37:56 +00:00
Vadim Zeitlin
d1d40c2176 removed GetLabel() which didn't do anything but forwarding to wxControl version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 16:34:17 +00:00
Vadim Zeitlin
8dfd4fade8 code cleanup: make OutputString[Ent]() simpler to call by providing defaults for conversion parameters and using flag instead of a bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 15:02:01 +00:00
Vadim Zeitlin
24c80a284c use correct encoding when saving in non-Unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 14:49:38 +00:00
Michael Wetherell
abffc1ff5d Changes to cope with parent streams which return an error instead of eof at the
end of the file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 13:51:24 +00:00
Julian Smart
b71e9aa4e2 Separated XML and HTML rich text I/O handlers
Cleaned up XML I/O
Added HTML handler to build system
Added encoding member for saving files output


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 12:31:07 +00:00
Julian Smart
63886f6d98 Fixed bug introduced by compiler compatibility fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 12:25:21 +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
Vadim Zeitlin
143e2719f5 corrected DoGetVirtualSize() to return at least our real size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-17 19:19:45 +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
David Surovell
eb1a7cf93d fixed bug introduced in prior check-ins; minor reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-15 21:21:02 +00:00
Chris Elliott
e795e8b56f fix Borland bug http://news.gmane.org/find-root.php?message_id=%3c43A0B07F.8010204%40as.ro%3e
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-15 15:07:36 +00:00
David Surovell
898d9035fb more reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-15 08:55:15 +00:00
David Surovell
b21d67a04d even more reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-15 00:58:39 +00:00
Dimitri Schoolwerth
35853cf203 fixed compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-15 00:25:03 +00:00
David Surovell
9b2eab527d reformat for readability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 23:20:55 +00:00
David Surovell
21e77aa170 simplified ::Show
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 23:12:32 +00:00
Vadim Zeitlin
9fe0c2fcf7 fixed return code checking in wxImageList::Replace() (bug 1380664)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 18:56:15 +00:00
David Surovell
d8746da256 removed patch 1373127
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 17:49:05 +00:00
Vadim Zeitlin
c46c1fb868 code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 14:08:19 +00:00
Vadim Zeitlin
f697241630 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 13:55:19 +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
David Surovell
98e04c1376 fixed obscure compilation problem at line 139
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 23:15:42 +00:00
David Surovell
a979e444a3 more reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 21:27:49 +00:00
Chris Elliott
8792cb7340 fix bug sf [ 1327872 ] Borland and mslu.cpp problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 13:43:52 +00:00
David Surovell
98af9c7383 reformat for readability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 05:13:55 +00:00
Mart Raudsepp
b16de7461a Remove my binary compatibility stuff from HEAD. Patch #1367014 used for reference.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 02:46:20 +00:00
Mart Raudsepp
8180d40b1f Typo fixes in comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 02:30:18 +00:00
Mart Raudsepp
f660b2062c Fix HitTest to return the proper tab index in case there are more tabs than fit (and therefore there are scrolling
arrows), and the first visible tab isn't the first real tab. Before counting started from the visible tab, not real
tab.
While doing this, I noticed lots of "interesting" bugs wrt tab indexes and the whole wxGtkNotebookPage hack in the
code. In my opinion, to fix some of the bugs I noticed during testing, wxGtkNotebookPage has to be nuked and the
necessary parts rewritten.
Meanwhile, the HitTest fix works with wxNB_TOP styled notebooks that haven't modified tabs in a way that would have
mess up the wxGtkNotebookPage index sync. For other cases it might depend on the phase of the moon, and other factors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 01:20:41 +00:00
David Surovell
52c3df9930 reformat for readability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 00:59:19 +00:00
Vadim Zeitlin
761598d4e5 fixed handling of dst offset in wxAlphaBlend()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-12 11:15:23 +00:00
Stefan Neis
fe1f34f82e Fixed wxDirExists implementation for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-11 15:25:02 +00:00
Stefan Csomor
65785aa966 activate SetFocus patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 16:59:19 +00:00
Stefan Csomor
ead6269ac0 support for standard menu ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 15:50:20 +00:00
Stefan Csomor
ccf1ef0f10 support for default key handling (escape,enter,command-period) even if there is no control on the frame/dialog, that has the focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 15:47:42 +00:00
Stefan Csomor
ca71e3ae27 support for standard command IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 15:36:09 +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
Stefan Csomor
53a410d1b2 add reasonable default TEMP for __WXMAC__ when running under __DARWIN__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 13:18:18 +00:00
Stefan Csomor
8c8f6a4b1d default to simple show/hide tlw on OSX instead of transitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 13:08:54 +00:00
George Tasker
ae2807c2e6 DB2 databases were mistakenly reporting that they were dBase databases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 00:37:05 +00:00
David Surovell
e15f0a5ea3 reformat for readability; more prep. for patch 1376506
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-09 20:43:49 +00:00
David Surovell
dac390e90b cleanup in preparation for patch 1376506
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-09 16:18:01 +00:00
David Surovell
75f0a06e5f format cleanup; some new comments; minor optimizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-09 00:10:27 +00:00
Julian Smart
789e2d57b8 Use ~/Application Support folder on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-08 21:49:52 +00:00
David Surovell
739b752912 applied patch 1376506 - remove unneeded member variable from GTK wxRadioButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-08 21:44:46 +00:00
Stefan Neis
dc8fbc37b0 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-07 09:35:38 +00:00
Julian Smart
aea25ac560 Initialize values (uninitialized variables reported to cause problems on WinME)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-06 19:07:28 +00:00
David Surovell
bafd830636 applied patch 1373127
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-05 16:25:16 +00:00
David Surovell
f9f9c8fcf9 applied Paul Cornett's suggested changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-05 01:07:22 +00:00
Vadim Zeitlin
d5437b854c fixed broken code using readlink(): please don't just cast wxChar * to char *, this doesn't risk to ever work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 13:01:50 +00:00
David Surovell
30efba0a9a applied patch 1372567, with some minor mods and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 07:54:19 +00:00
David Surovell
ca7d651d5d fixed compilation bug in prior checkin (Pt. 2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 05:00:26 +00:00
David Surovell
9238471679 fixed compilation bug in prior checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 01:04:02 +00:00
David Surovell
74ebd40690 fix for bug 1371386, with some minor mods and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 21:17:17 +00:00
David Surovell
d806d30a0f applied patch 1372197, with some minor mods and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 17:55:33 +00:00
Vadim Zeitlin
f2be55804a corrected wxCHECK messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 12:47:55 +00:00
Stefan Csomor
d281db8b42 avoiding unkown namespace std
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 08:43:31 +00:00
Stefan Csomor
abb4f9c937 correcting CGImage handling to be always correctly initialized and freed on OSX builds, even when not using CoreGraphics, Ryan's Patch 1372209
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 07:58:16 +00:00
Jouk Jansen
1c5e12589c Committing in .
OpenVMS compile updates

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-02 08:52:09 +00:00
Vadim Zeitlin
5875d39c9b fixed problems with sometimes processing the events twice introduced in rev 1.170 but still don't leak memory (Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-02 00:53:31 +00:00
David Surovell
17cfea0162 minor cleanup, part 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 23:32:47 +00:00
David Surovell
97071cdbff minor cleanup: corrected typos, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 23:20:30 +00:00
David Surovell
1aa7b427f2 minor cleanup: corrected typos, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 14:28:30 +00:00
Václav Slavík
5996fb421d fixed wxComboBox::Clear to clear stored value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 12:55:34 +00:00
Włodzimierz Skiba
8ecd5de227 [ 1357527 ] Cast to void to silence GCC's warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 11:05:31 +00:00
David Surovell
a8d2fb31cb readability cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 18:30:49 +00:00
David Surovell
ec7a8d0256 added missing #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:45:05 +00:00
Vadim Zeitlin
1661354b77 implemented IsItemEnabled/Shown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:28:18 +00:00
Vadim Zeitlin
27c78e4552 1. derive wxGTK wxRadioBox from wxRadioBoxBase now, as in all other ports
2. implemented wxRadioBox::IsItemShown/Enabled() for wxGTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:39:23 +00:00
Vadim Zeitlin
f3984afa30 Set major dim after the items have been created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:33:43 +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
344d0d8821 suppress gcc warnings about class having private dtor and no friends
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 15:35:04 +00:00
Vadim Zeitlin
de2589be08 avoid multiple reallocations in wxString::PrintfV() if vsnprintf() returns the total required size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 14:49:47 +00:00
Michael Wetherell
8e50d1add6 Make Eof() consistent with other streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 12:41:48 +00:00
David Surovell
4d53859584 minor refactoring of menu UpdateUI handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:59:38 +00:00
Włodzimierz Skiba
0b04c4e0bd Missing wxUSE_PALETTE markup (#1369489).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:58:37 +00:00
Włodzimierz Skiba
7e04489676 Missing wxUSE_JOYSTICK markup (#1369478).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 07:43:06 +00:00
Vadim Zeitlin
a815cb29f2 removed (now) unnecessary errno.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 02:42:39 +00:00
Vadim Zeitlin
b1727cfef7 don't expect errno to be set to EOVERFLOW if vsnprintf() fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 22:59:02 +00:00
Vadim Zeitlin
455c8f1d55 don't clip out hidden radiobox buttons: otherwise they're displayed incorrectly when themes are in use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 22:10:04 +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
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
Julian Smart
b377eda09d Removed duplicate xh_grid.cpp/h and rebaked files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 09:03:35 +00:00
Vadim Zeitlin
f5e3d9463b guard grid XRC handler by #if wxUSE_GRID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 00:54:02 +00:00
David Surovell
a8cb1a4947 changed background color reference from light gray to assigned bkgd color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-28 15:27:09 +00:00
Stefan Neis
c5f975dddb Applied patch #1198422 (CheckBox labels being truncated).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 21:30:40 +00:00
Michael Wetherell
9630cac5fc Take out wxASSERTs since they give a warning with gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 18:12:37 +00:00
Michael Wetherell
f489770c10 Do CloseEntry internally when OpenEntry called on an already open stream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 17:55:00 +00:00
Michael Wetherell
4c9847e14e Small fixes to allow compilation with --enable-stl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 02:03:40 +00:00
Michael Wetherell
c1d8296a78 Silence warning about truncation since the comment says it ok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 01:56:51 +00:00
Vadim Zeitlin
dddd1f21c1 added helper for visual sizers debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 13:09:23 +00:00
Vadim Zeitlin
cc11ded1ae made wxTreeTraversal and wxIDropSources dtors virtual (patch 1311828)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 13:08:09 +00:00
Vadim Zeitlin
9ad34f611f implemented wxGetFreeMemory() under IRIX (patch 1360356); made wxMemorySize always 64 bit as it can overflow even in 32 bit builds otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 22:09:22 +00:00