]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
18 years agocleanup - reformatting, minor code tweaks
David Surovell [Thu, 29 Dec 2005 19:42:43 +0000 (19:42 +0000)] 
cleanup - reformatting, minor code tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofix MinGW/gcc compilation issue
David Surovell [Thu, 29 Dec 2005 06:43:26 +0000 (06:43 +0000)] 
fix MinGW/gcc compilation issue

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoRemove obsolete GetForce
Kevin Hock [Thu, 29 Dec 2005 02:01:33 +0000 (02:01 +0000)] 
Remove obsolete GetForce

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoRemove wxConfig object caching (m_config), which solves dangling pointer problem...
Kevin Hock [Thu, 29 Dec 2005 01:49:55 +0000 (01:49 +0000)] 
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

18 years agofix MinGW/gcc compilation issue
David Surovell [Wed, 28 Dec 2005 23:40:21 +0000 (23:40 +0000)] 
fix MinGW/gcc compilation issue

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofix SetInvokingWindow link problem
David Surovell [Wed, 28 Dec 2005 23:02:22 +0000 (23:02 +0000)] 
fix SetInvokingWindow link problem

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocleanup - reformatting, minor code rewrites
David Surovell [Wed, 28 Dec 2005 06:44:35 +0000 (06:44 +0000)] 
cleanup - reformatting, minor code rewrites

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocompilation fix after latest dc.h changes for !WX_PRECOMP case
Vadim Zeitlin [Tue, 27 Dec 2005 22:16:05 +0000 (22:16 +0000)] 
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

18 years agocleanup - reformatting
David Surovell [Tue, 27 Dec 2005 19:50:23 +0000 (19:50 +0000)] 
cleanup - reformatting

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agomention wxDC change
Vadim Zeitlin [Tue, 27 Dec 2005 15:00:32 +0000 (15:00 +0000)] 
mention wxDC change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoApplied Patch #1390457 (Incorrect wxRadioBox widths & heights).
Stefan Neis [Tue, 27 Dec 2005 11:20:46 +0000 (11:20 +0000)] 
Applied Patch #1390457 (Incorrect wxRadioBox widths & heights).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoadded support for <sub> and <sup> to wxHTML (based on patch #1263152)
Václav Slavík [Tue, 27 Dec 2005 00:00:39 +0000 (00:00 +0000)] 
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

18 years agoallow opening .html files, too
Václav Slavík [Mon, 26 Dec 2005 23:29:17 +0000 (23:29 +0000)] 
allow opening .html files, too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoprotect separators against inappropriate state changes
David Surovell [Mon, 26 Dec 2005 18:45:48 +0000 (18:45 +0000)] 
protect separators against inappropriate state changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocleanup - reformatting
David Surovell [Mon, 26 Dec 2005 17:58:27 +0000 (17:58 +0000)] 
cleanup - reformatting

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoFixed GetIcon to keep up with return type change on all other platforms.
Stefan Neis [Sun, 25 Dec 2005 14:37:51 +0000 (14:37 +0000)] 
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

18 years agoimplemented wxDC::DoGetSize() correctly for metafile DC classes
Vadim Zeitlin [Sun, 25 Dec 2005 13:06:05 +0000 (13:06 +0000)] 
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

18 years agoStart/EndDrawingOnTop are still used under Motif, don't deprecate them
Vadim Zeitlin [Sun, 25 Dec 2005 12:52:53 +0000 (12:52 +0000)] 
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

18 years agodisallow creation of wxDC objects and made wxDC an ABC; use wxDCTemp instead of wxDC...
Vadim Zeitlin [Sun, 25 Dec 2005 02:34:42 +0000 (02:34 +0000)] 
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

18 years agomore cleanup
David Surovell [Sat, 24 Dec 2005 17:10:36 +0000 (17:10 +0000)] 
more cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoalso generate wxEVT_SCROLL_CHANGED as under wxMSW
Vadim Zeitlin [Sat, 24 Dec 2005 02:55:03 +0000 (02:55 +0000)] 
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

18 years agodetermine the slider event type more precisely (i.e. generate LINE/PAGE UP/DOWN and...
Vadim Zeitlin [Sat, 24 Dec 2005 02:52:25 +0000 (02:52 +0000)] 
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

18 years agofixed labels under GTK+ 1 after recent changes (remove underscores from them again)
Vadim Zeitlin [Sat, 24 Dec 2005 02:21:00 +0000 (02:21 +0000)] 
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

18 years agoGTK+ 1 compilation fixes
Vadim Zeitlin [Sat, 24 Dec 2005 02:20:15 +0000 (02:20 +0000)] 
GTK+ 1 compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoimplemented wxCURSOR_BLANK (bug 1377290)
Vadim Zeitlin [Sat, 24 Dec 2005 02:02:33 +0000 (02:02 +0000)] 
implemented wxCURSOR_BLANK (bug 1377290)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agowarn that GetMenu() may return NULL
Vadim Zeitlin [Sat, 24 Dec 2005 01:31:55 +0000 (01:31 +0000)] 
warn that GetMenu() may return NULL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agomoded wxWindow::PopupMenu() from window.cpp to menu.cpp as this allows it to access...
Vadim Zeitlin [Sat, 24 Dec 2005 01:29:08 +0000 (01:29 +0000)] 
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

18 years agosend wxEVT_MENU_CLOSE from menubar deactivate handler, this ensures that the event...
Vadim Zeitlin [Sat, 24 Dec 2005 01:21:27 +0000 (01:21 +0000)] 
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

18 years agosend wxEVT_MENU_CLOSE at least sometimes
Vadim Zeitlin [Sat, 24 Dec 2005 00:44:57 +0000 (00:44 +0000)] 
send wxEVT_MENU_CLOSE at least sometimes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago1. changed wxStringTokenizer to not modify the string we're iterating over
Vadim Zeitlin [Sat, 24 Dec 2005 00:12:54 +0000 (00:12 +0000)] 
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

18 years agoadded a couple more wxTOKEN_RET_DELIMS tests
Vadim Zeitlin [Sat, 24 Dec 2005 00:01:11 +0000 (00:01 +0000)] 
added a couple more wxTOKEN_RET_DELIMS tests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoeven more test cases
Vadim Zeitlin [Fri, 23 Dec 2005 23:54:50 +0000 (23:54 +0000)] 
even more test cases

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocorrected expected test results to conform to current wxTOKEN_RET_EMPTY behaviour...
Vadim Zeitlin [Fri, 23 Dec 2005 23:38:22 +0000 (23:38 +0000)] 
corrected expected test results to conform to current wxTOKEN_RET_EMPTY behaviour; added the value of loop index for which the test fails to the diagnostic messages

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agomore test cases
Vadim Zeitlin [Fri, 23 Dec 2005 23:27:25 +0000 (23:27 +0000)] 
more test cases

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago Committing in .
Jouk Jansen [Fri, 23 Dec 2005 07:42:38 +0000 (07:42 +0000)] 
 Committing in .

 configuration update for OpenVMS

 Modified Files:
  wxWidgets/setup.h_vms
 ----------------------------------------------------------------------

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agomore cleanup - added comment regarding possible stipple brush problem
David Surovell [Fri, 23 Dec 2005 05:16:45 +0000 (05:16 +0000)] 
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

18 years agocorrected handling of timeouts in wxConditionInternal::WaitTimeout(): check for wxSEM...
Vadim Zeitlin [Fri, 23 Dec 2005 01:20:38 +0000 (01:20 +0000)] 
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

18 years agodon't set minimal column width, it should be possible to set it even to 0 if desired...
Vadim Zeitlin [Fri, 23 Dec 2005 01:00:30 +0000 (01:00 +0000)] 
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

18 years agocorrect dll export declaration for wxVolume
Vadim Zeitlin [Fri, 23 Dec 2005 00:59:29 +0000 (00:59 +0000)] 
correct dll export declaration for wxVolume

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoadded wxRTTI macros to wxControlWithItems: it's not private any longer
Vadim Zeitlin [Fri, 23 Dec 2005 00:58:32 +0000 (00:58 +0000)] 
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

18 years agoFix for bug #1266745 and #1387725 in the wxFindReplaceDialog on MSW.
Robin Dunn [Thu, 22 Dec 2005 23:33:08 +0000 (23:33 +0000)] 
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

18 years agoreverted previous accidental commit
Václav Slavík [Thu, 22 Dec 2005 23:11:36 +0000 (23:11 +0000)] 
reverted previous accidental commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agowxMac linking fix
Václav Slavík [Thu, 22 Dec 2005 23:04:05 +0000 (23:04 +0000)] 
wxMac linking fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoFixes so that wxPython builds on 2.7. Mostly removing references to all functions...
Kevin Ollivier [Thu, 22 Dec 2005 06:57:46 +0000 (06:57 +0000)] 
Fixes so that wxPython builds on 2.7. Mostly removing references to all functions that require WXWIN_2_4_COMPATIBILITY to be defined.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoUse the now 'official' makemo.py when building packages.
Kevin Ollivier [Thu, 22 Dec 2005 06:09:26 +0000 (06:09 +0000)] 
Use the now 'official' makemo.py when building packages.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoUpdating version.
Kevin Ollivier [Thu, 22 Dec 2005 05:55:50 +0000 (05:55 +0000)] 
Updating version.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoMoving the 2.6 branch change in how SWIG is found to CVS HEAD now that Robin's build...
Kevin Ollivier [Thu, 22 Dec 2005 03:24:47 +0000 (03:24 +0000)] 
Moving the 2.6 branch change in how SWIG is found to CVS HEAD now that Robin's build system uses it too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoadded wxListAttr::AssignFrom()
Vadim Zeitlin [Thu, 22 Dec 2005 03:10:35 +0000 (03:10 +0000)] 
added wxListAttr::AssignFrom()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agodon't overwrite the existing attributes when setting one new one, i.e. SetItemBackgro...
Vadim Zeitlin [Thu, 22 Dec 2005 03:07:48 +0000 (03:07 +0000)] 
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

18 years agoupdate from liou xiao <liouxiao@hotmail.com>
Vadim Zeitlin [Thu, 22 Dec 2005 02:41:53 +0000 (02:41 +0000)] 
update from liou xiao <liouxiao@hotmail.com>

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofixed error in prior checkin
David Surovell [Thu, 22 Dec 2005 01:14:06 +0000 (01:14 +0000)] 
fixed error in prior checkin

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoUnicode compilation fix
Vadim Zeitlin [Thu, 22 Dec 2005 00:17:22 +0000 (00:17 +0000)] 
Unicode compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoregenerated makefiles after adding tokenizer.cpp
Vadim Zeitlin [Thu, 22 Dec 2005 00:11:26 +0000 (00:11 +0000)] 
regenerated makefiles after adding tokenizer.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoAfter a conversaion with Vadim I reverted the last change and instead
Robin Dunn [Wed, 21 Dec 2005 20:51:14 +0000 (20:51 +0000)] 
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

18 years agoFix for Bug #1387359, bail out early from DoWriteText if the string is empty.
Robin Dunn [Wed, 21 Dec 2005 20:19:14 +0000 (20:19 +0000)] 
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

18 years agominor cleanup; remove focus patch scaffolding
David Surovell [Wed, 21 Dec 2005 19:54:48 +0000 (19:54 +0000)] 
minor cleanup; remove focus patch scaffolding

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agog++ 4/wxMAC_USE_CORE_GRAPHICS warning fixes
Vadim Zeitlin [Wed, 21 Dec 2005 16:12:48 +0000 (16:12 +0000)] 
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

18 years agojust added a comment
Vadim Zeitlin [Wed, 21 Dec 2005 16:11:58 +0000 (16:11 +0000)] 
just added a comment

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocompilation test for Unicode build
Vadim Zeitlin [Wed, 21 Dec 2005 01:23:17 +0000 (01:23 +0000)] 
compilation test for Unicode build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofixed compile errors (code was using unnamed objects, resulting in compiler ambiguity)
Dimitri Schoolwerth [Tue, 20 Dec 2005 16:52:36 +0000 (16:52 +0000)] 
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

18 years agoadded tests showing that current wxStringTokenizer code doesn't handle multiple delim...
Vadim Zeitlin [Tue, 20 Dec 2005 16:48:41 +0000 (16:48 +0000)] 
added tests showing that current wxStringTokenizer code doesn't handle multiple delimiters at the end of string properly in mode != wxTOKEN_STRTOK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoextracted wxStringTokenizer tests in their own file and rewrote them to be table...
Vadim Zeitlin [Tue, 20 Dec 2005 16:34:09 +0000 (16:34 +0000)] 
extracted wxStringTokenizer tests in their own file and rewrote them to be table based and more clear (separated strtok()-compatibility test from the other one)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoextracted wxStringTokenizer tests in their own file and rewrote them to be table...
Vadim Zeitlin [Tue, 20 Dec 2005 16:30:12 +0000 (16:30 +0000)] 
extracted wxStringTokenizer tests in their own file and rewrote them to be table based and more clear (separated strtok()-compatibility test from the other one)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoupdate from Wei-Lun Chao
Vadim Zeitlin [Tue, 20 Dec 2005 14:40:18 +0000 (14:40 +0000)] 
update from Wei-Lun Chao

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofixed unreachable code warnings (occurred in MSVC6+Release mode)
Dimitri Schoolwerth [Tue, 20 Dec 2005 14:25:36 +0000 (14:25 +0000)] 
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

18 years agoRemove references to now removed iewin module. Replaced by activex/wxie.
Kevin Ollivier [Tue, 20 Dec 2005 05:44:51 +0000 (05:44 +0000)] 
Remove references to now removed iewin module. Replaced by activex/wxie.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoRemoving old iewin extension. Replaced by activex/wxie.
Kevin Ollivier [Tue, 20 Dec 2005 05:37:59 +0000 (05:37 +0000)] 
Removing old iewin extension. Replaced by activex/wxie.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoadded newline at end of file (avoids gcc warning when building with Xcode 2.2)
Vadim Zeitlin [Tue, 20 Dec 2005 01:47:09 +0000 (01:47 +0000)] 
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

18 years agoFixed problem trying to print from a preview, whereby wrong printer
Julian Smart [Mon, 19 Dec 2005 20:38:47 +0000 (20:38 +0000)] 
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

18 years agodon't crash when XIM is used under IRIX
Vadim Zeitlin [Mon, 19 Dec 2005 16:06:31 +0000 (16:06 +0000)] 
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

18 years agoremoved DllMain(): we don't even compile it with any compiler but VC8 and with VC8...
Vadim Zeitlin [Mon, 19 Dec 2005 14:34:12 +0000 (14:34 +0000)] 
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

18 years agodocumented Set/GetIcon(), added (not quite pure) virtual GetIcon() in the base class
Vadim Zeitlin [Mon, 19 Dec 2005 13:56:23 +0000 (13:56 +0000)] 
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

18 years agoreturn a valid bitmap from GetBitmap() even if we created an icon internally
Vadim Zeitlin [Mon, 19 Dec 2005 13:46:23 +0000 (13:46 +0000)] 
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

18 years agowxMac changes documented.
Julian Smart [Mon, 19 Dec 2005 12:04:11 +0000 (12:04 +0000)] 
wxMac changes documented.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoSomebody forgot to restore from testing phase.
Włodzimierz Skiba [Mon, 19 Dec 2005 11:09:19 +0000 (11:09 +0000)] 
Somebody forgot to restore from testing phase.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago__WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always define...
Włodzimierz Skiba [Mon, 19 Dec 2005 10:55:11 +0000 (10:55 +0000)] 
__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@36467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago__WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always define...
Włodzimierz Skiba [Mon, 19 Dec 2005 10:47:44 +0000 (10:47 +0000)] 
__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

18 years agofix for compilation without PCH
Vadim Zeitlin [Mon, 19 Dec 2005 10:03:04 +0000 (10:03 +0000)] 
fix for compilation without PCH

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoremoved unused local variable; converted tabs to spaces
David Surovell [Mon, 19 Dec 2005 03:51:34 +0000 (03:51 +0000)] 
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

18 years agoUse TranslateAccelerator so that TAB, Return, etc. keys are properly processed by...
Kevin Ollivier [Mon, 19 Dec 2005 01:42:32 +0000 (01:42 +0000)] 
Use TranslateAccelerator so that TAB, Return, etc. keys are properly processed by wxActiveX controls.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoAllow wx parents a chance to handle events fired by non-wx children. (i.e. wxActiveX...
Kevin Ollivier [Mon, 19 Dec 2005 01:39:54 +0000 (01:39 +0000)] 
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

18 years agotimer.tex: wxTimerEvent is derived from wxEvent
Mart Raudsepp [Mon, 19 Dec 2005 00:34:13 +0000 (00:34 +0000)] 
timer.tex: wxTimerEvent is derived from wxEvent

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoassert if opening more than one find/replace dialog under the same parent -- this...
Vadim Zeitlin [Sun, 18 Dec 2005 22:33:35 +0000 (22:33 +0000)] 
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

18 years agoAdded implementation for wxLocaltime_r/wxGmtime_r.
Stefan Neis [Sun, 18 Dec 2005 19:24:11 +0000 (19:24 +0000)] 
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

18 years agodocumented Set/GetLabel() treatment of mnemonics
Vadim Zeitlin [Sun, 18 Dec 2005 16:39:18 +0000 (16:39 +0000)] 
documented Set/GetLabel() treatment of mnemonics

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago1. changed wxControl::GetLabel() to return the originally provided label and
Vadim Zeitlin [Sun, 18 Dec 2005 16:37:56 +0000 (16:37 +0000)] 
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

18 years agoremoved GetLabel() which didn't do anything but forwarding to wxControl version
Vadim Zeitlin [Sun, 18 Dec 2005 16:34:17 +0000 (16:34 +0000)] 
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

18 years agoblatant compilation fix
Vadim Zeitlin [Sun, 18 Dec 2005 16:03:26 +0000 (16:03 +0000)] 
blatant compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocode cleanup: make OutputString[Ent]() simpler to call by providing defaults for...
Vadim Zeitlin [Sun, 18 Dec 2005 15:02:01 +0000 (15:02 +0000)] 
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

18 years agouse correct encoding when saving in non-Unicode builds
Vadim Zeitlin [Sun, 18 Dec 2005 14:49:38 +0000 (14:49 +0000)] 
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

18 years agoIn the past some streams returned Eof() before the end was read past rather
Michael Wetherell [Sun, 18 Dec 2005 13:58:55 +0000 (13:58 +0000)] 
In the past some streams returned Eof() before the end was read past rather
after, and also some streams give an error instead of Eof(). Test the archive
streams work with parent streams that have any of these behaviours.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoChanges to cope with parent streams which return an error instead of eof at the
Michael Wetherell [Sun, 18 Dec 2005 13:51:24 +0000 (13:51 +0000)] 
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

18 years agoSeparated XML and HTML rich text I/O handlers
Julian Smart [Sun, 18 Dec 2005 12:31:07 +0000 (12:31 +0000)] 
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

18 years agoFixed bug introduced by compiler compatibility fix
Julian Smart [Sun, 18 Dec 2005 12:25:21 +0000 (12:25 +0000)] 
Fixed bug introduced by compiler compatibility fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoShould use LoadFile for file, not LoadPage
Julian Smart [Sun, 18 Dec 2005 12:24:25 +0000 (12:24 +0000)] 
Should use LoadFile for file, not LoadPage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoAdded space after list item number, otherwise number is hard against following text.
Julian Smart [Sun, 18 Dec 2005 12:22:20 +0000 (12:22 +0000)] 
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

18 years agoPut back the warning flags
Michael Wetherell [Sun, 18 Dec 2005 11:37:50 +0000 (11:37 +0000)] 
Put back the warning flags

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoUse thread-safe functions where possible.
Stefan Neis [Sat, 17 Dec 2005 22:01:43 +0000 (22:01 +0000)] 
Use thread-safe functions where possible.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agouse just SetSizerAndFit instead of 4 equivalent lines
Vadim Zeitlin [Sat, 17 Dec 2005 19:23:04 +0000 (19:23 +0000)] 
use just SetSizerAndFit instead of 4 equivalent lines

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocorrected DoGetVirtualSize() to return at least our real size
Vadim Zeitlin [Sat, 17 Dec 2005 19:19:45 +0000 (19:19 +0000)] 
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