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
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
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
c5a1236296
don't test for __WIN95__ which doesn't exist any more; don't do compiler checks here as they belong to other files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-01 01:42:13 +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
6446bbcf31
cleanup - reformat
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-31 01:33:40 +00:00
Robin Dunn
84a17ce686
Merged modifications from the 2.6 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 23:11:27 +00:00
Robin Dunn
02b800ce7c
Merged modifications from the 2.6 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 23:02:03 +00:00
Robin Dunn
a780a8dc19
wxHotkeyModifier --> wxKeyModifier
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 20:48:57 +00:00
Robin Dunn
53a4b457cf
Note that some deprecated items have been removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 20:48:12 +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
426195f989
reformatted; added more error checking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 18:40:20 +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
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
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
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
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
Václav Slavík
43056e6ed5
allow opening .html files, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-26 23:29:17 +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
Stefan Neis
ea8ca011a3
Fixed GetIcon to keep up with return type change on all other platforms.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-25 14:37:51 +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
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
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