Commit Graph

8319 Commits

Author SHA1 Message Date
Jamie Gadd
3a96aa4afa Add missing WINDOWPOS flags for WinCE build to include/wx/msw/wince/missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-13 01:33:33 +00:00
Vadim Zeitlin
5b87e74ace added missing default value for wxEventLoopManual::Exit() parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-13 01:32:38 +00:00
Vadim Zeitlin
b80e8ac983 updated to derive from wxEventLoopManual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-13 01:31:37 +00:00
Vadim Zeitlin
c8026dea6c improved wxMac event loop implementation and refactored the code to share it with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-12 23:06:26 +00:00
Vadim Zeitlin
4d90072c22 implemented wxEventLoop for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-12 20:09:00 +00:00
Vadim Zeitlin
77fb1a02aa share wxEventLoop::IsRunning() implementation between all ports; moved wxEventLoopActivator used by it in wx/evtloop.h instead of duplicating it in 3 different .cpp files (and not using it at all in 3 other ones)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-12 16:56:48 +00:00
Jouk Jansen
76241d0f75 Committing in .
1 ; too many

 Modified Files:
 	wxWidgets/include/wx/html/helpwnd.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-11 13:26:42 +00:00
Julian Smart
3ac95ecd61 Corrected accessor names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-11 09:08:31 +00:00
Julian Smart
4e1ed07b52 Typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-11 09:00:33 +00:00
Julian Smart
f3e156efb0 Renamed helpwin.h/cpp to helpwnd.h/cpp to avoid clash
Added back GetFrame/GetDialog for compatibility and consistency


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-11 08:59:17 +00:00
Włodzimierz Skiba
d9170b47d1 wxCalendarCtrl: positioning fixes and colours following system settings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 21:08:07 +00:00
Włodzimierz Skiba
740af654d1 Watcom does not accept #warning but supports more than MSW port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 19:39:28 +00:00
David Surovell
a02d6c7b19 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 04:10:57 +00:00
Julian Smart
13344b2557 Made the HTML command ids visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 17:06:05 +00:00
Julian Smart
3755cfa64d Moved wxHtmlHelpFrame functionality to wxHtmlHelpWindow to allow
for embedded and modal help


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 13:42:57 +00:00
Vadim Zeitlin
1737dac20a fix SetUserData() to delete the correct pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 12:27:49 +00:00
Vadim Zeitlin
df885241b0 fix for Unicode builds under OS X <= 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 12:27:18 +00:00
Vadim Zeitlin
2dc62891c4 moved OnExceptionInMainLoop() from wxAppConsole to wxAppBase because
1. console apps have no main loop
2. in non-monolithic mingw32 build, rethrowing an exception thrown from the
   GUI in the base DLL doesn't work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 00:12:49 +00:00
Włodzimierz Skiba
3ab14c038b wxMGL bakefiled for OpenWatcom (needs bakefiles from CVS but compatible with bkl 0.1.9.X for other ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 00:03:54 +00:00
Robert Roebling
bcd846ea71 Added empty wxDataViewCtrl header and control name string.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 21:50:02 +00:00
Vadim Zeitlin
9452e8789b fixes for Unicode build with CodeWarrior under OS X 10.2 (patch 1373217)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 12:19:14 +00:00
Vadim Zeitlin
70e51d6918 fixed check for Metrowerks mbstowcs(): check for __MSL__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 12:09:03 +00:00
Stefan Neis
a4ebf7ba61 Integrated fixes for sizing/positioning; cleanup; removal of handle/window
association in dtor. (All according to patch #1396667).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 23:43:45 +00:00
Vadim Zeitlin
b7d4a1b0aa fixed bug in GetString() introduced during the latest round of changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 21:41:54 +00:00
Vadim Zeitlin
dbf9aa465e use our own mbstowcs() and wcstombs() implementations with Metrowerks as MSL CRT doesn't implement Unix98 extension of allowing to call them with NULL output parameters to just get the size of the needed buffer which we rely on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 16:52:54 +00:00
Vadim Zeitlin
4a6b1d2872 added wx/object.h include (bug 1398517)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 12:54:44 +00:00
Robin Dunn
e8c1be041f Added wxSizerItem::SetUserData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 04:46:38 +00:00
Mart Raudsepp
a6956d86c7 include wx/event.h, as it is used by-value (parent class).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 23:11:58 +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
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
Michael Wetherell
5fe8edce29 Undefine true and false defined in scitech header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 14:14:32 +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
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
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
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
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
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
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
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
Vadim Zeitlin
dfc69c6d5b corrected handling of timeouts in wxConditionInternal::WaitTimeout(): check for wxSEMA_TIMEOUT, not wxSEMA_BUSY; return wxCOND_TIMEOUT, not wxCOND_MISC_ERROR (bug 1387179)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 01:20:38 +00:00
Vadim Zeitlin
d241d258cf correct dll export declaration for wxVolume
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 00:59:29 +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
Vadim Zeitlin
bdcb882076 added wxListAttr::AssignFrom()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 03:10:35 +00:00
Vadim Zeitlin
f3c49b55b0 added newline at end of file (avoids gcc warning when building with Xcode 2.2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 01:47:09 +00:00