]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agomade wxTLW::SetIcon() non-virtual, it was already implemented in terms of
Vadim Zeitlin [Sat, 7 Apr 2007 23:40:55 +0000 (23:40 +0000)] 
made wxTLW::SetIcon() non-virtual, it was already implemented in terms of
SetIcons() in most of the ports, now do it in all of them

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

17 years agodon't allocate m_refData unnecessarily
Vadim Zeitlin [Sat, 7 Apr 2007 23:38:13 +0000 (23:38 +0000)] 
don't allocate m_refData unnecessarily

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

17 years agodon't crash when IsEmpty() is called on invalid bundle; don't assert if GetIcon(...
Vadim Zeitlin [Sat, 7 Apr 2007 23:36:08 +0000 (23:36 +0000)] 
don't crash when IsEmpty() is called on invalid bundle; don't assert if GetIcon(-1) is called on an invalid or empty bundle as existing code expects to be able to do it

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

17 years agodon't use invalid wxIconBundles, it results in asserts after recent changes
Vadim Zeitlin [Sat, 7 Apr 2007 23:14:58 +0000 (23:14 +0000)] 
don't use invalid wxIconBundles, it results in asserts after recent changes

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

17 years agodon't try to access empty wxIconBundle in gtk_frame_realized_callback
Vadim Zeitlin [Sat, 7 Apr 2007 23:05:37 +0000 (23:05 +0000)] 
don't try to access empty wxIconBundle in gtk_frame_realized_callback

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

17 years agoadded IsEmpty()
Vadim Zeitlin [Sat, 7 Apr 2007 23:04:15 +0000 (23:04 +0000)] 
added IsEmpty()

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

17 years agofilter out bundles/packages when showing the open file dialog (patch 1675784)
Vadim Zeitlin [Sat, 7 Apr 2007 22:25:23 +0000 (22:25 +0000)] 
filter out bundles/packages when showing the open file dialog (patch 1675784)

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

17 years agouse 2 extensions in a filter in FileSave() for testing
Vadim Zeitlin [Sat, 7 Apr 2007 22:14:44 +0000 (22:14 +0000)] 
use 2 extensions in a filter in FileSave() for testing

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

17 years agochoose the first extension by default, if several are specified, in the save file...
Vadim Zeitlin [Sat, 7 Apr 2007 22:13:30 +0000 (22:13 +0000)] 
choose the first extension by default, if several are specified, in the save file dialog (patch 1675781)

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

17 years agodon't remove the tools we hadn't added to the toolbar (replaces patch 1660201)
Vadim Zeitlin [Sat, 7 Apr 2007 21:59:56 +0000 (21:59 +0000)] 
don't remove the tools we hadn't added to the toolbar (replaces patch 1660201)

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

17 years ago Rework wxMotif font/color inheritance so it works
Mattia Barbon [Sat, 7 Apr 2007 21:18:33 +0000 (21:18 +0000)] 
  Rework wxMotif font/color inheritance so it works
like in the other ports.  Avoid setting foreground/background
color for windows and let the toolkit use the natural color.
As an intermediate step font is still explicitly set.

  Handle the cases where m_foregroundColour, m_backgroundColour ir m_font
are not initialized.

  Set default (overridable) X resources to emulate the old look.

  Unify wxMOTIF_NEW_FONT_HANDLING with wxMOTIF_USE_RENDER_TABLE.

  Minor unrelated (sizing) fixes to wxCheckListBox, wxStaticText, wxTextCtrl.

  Tagged with MOTIF_BEFORE_COLOUR_FONT_INHERITANCE before the changes.

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

17 years agofix crash introduced in last commit (the correct item variable was shadowed by anothe...
Vadim Zeitlin [Sat, 7 Apr 2007 20:31:15 +0000 (20:31 +0000)] 
fix crash introduced in last commit (the correct item variable was shadowed by another one and so remained NULL)

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

17 years ago1. changed wxIconBundle to use m_refData and COW to make copying icon bundles
Vadim Zeitlin [Sat, 7 Apr 2007 19:59:51 +0000 (19:59 +0000)] 
1. changed wxIconBundle to use m_refData and COW to make copying icon bundles
   fast (which was needed for 2)
2. make it possible to return wxIconBundles from wxArtProvider
3. implement Mac-specific wxArtProvider doing (2)

(modified patch 1581960)

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

17 years agoadd support for resources forks in wxCopyFile() (modified patch 1620336)
Vadim Zeitlin [Sat, 7 Apr 2007 18:23:57 +0000 (18:23 +0000)] 
add support for resources forks in wxCopyFile() (modified patch 1620336)

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

17 years agosupport accelerators for buttons too (slightly modified patch 1549012)
Vadim Zeitlin [Sat, 7 Apr 2007 17:05:00 +0000 (17:05 +0000)] 
support accelerators for buttons too (slightly modified patch 1549012)

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

17 years agoadded MacOpenURL() (patch 1235957)
Vadim Zeitlin [Sat, 7 Apr 2007 16:05:11 +0000 (16:05 +0000)] 
added MacOpenURL() (patch 1235957)

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

17 years agodocument GetAnimation() (patch 1695722)
Vadim Zeitlin [Sat, 7 Apr 2007 15:45:26 +0000 (15:45 +0000)] 
document GetAnimation() (patch 1695722)

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

17 years agodocument adding new resource handlers (patch 1695722)
Vadim Zeitlin [Sat, 7 Apr 2007 15:44:13 +0000 (15:44 +0000)] 
document adding new resource handlers (patch 1695722)

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

17 years agodon't mention obsolete 2.2 version (part of patch 1695722)
Vadim Zeitlin [Sat, 7 Apr 2007 15:42:42 +0000 (15:42 +0000)] 
don't mention obsolete 2.2 version (part of patch 1695722)

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

17 years agomention more predefined array classes (part of patch 1695722)
Vadim Zeitlin [Sat, 7 Apr 2007 15:41:32 +0000 (15:41 +0000)] 
mention more predefined array classes (part of patch 1695722)

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

17 years ago Restore border around non-scrolling widgets. The
Robert Roebling [Sat, 7 Apr 2007 14:41:41 +0000 (14:41 +0000)] 
  Restore border around non-scrolling widgets. The
    border seems to have the wrong colour now (?).

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

17 years agouse C++ compiler for all getsockopt() tests, not just one of them to fix compilation...
Vadim Zeitlin [Sat, 7 Apr 2007 13:33:17 +0000 (13:33 +0000)] 
use C++ compiler for all getsockopt() tests, not just one of them to fix compilation under HP-UX (patch 1693708)

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

17 years agouse smaller icons, it looks better (patch 1695225)
Vadim Zeitlin [Sat, 7 Apr 2007 13:25:34 +0000 (13:25 +0000)] 
use smaller icons, it looks better (patch 1695225)

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

17 years agouse C++ compiler for all getsockopt() tests, not just one of them to fix compilation...
Vadim Zeitlin [Sat, 7 Apr 2007 13:18:56 +0000 (13:18 +0000)] 
use C++ compiler for all getsockopt() tests, not just one of them to fix compilation under HP-UX (patch 1693708)

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

17 years agoCompilation fix for wxCStrData handling.
Stefan Neis [Sat, 7 Apr 2007 12:28:59 +0000 (12:28 +0000)] 
Compilation fix for wxCStrData handling.

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

17 years agoReplaced incorrect or inefficient usage of char_str() by wx_str().
Stefan Neis [Sat, 7 Apr 2007 12:21:15 +0000 (12:21 +0000)] 
Replaced incorrect or inefficient usage of char_str() by wx_str().

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

17 years agodon't access the window after it had been deleted by the focus event handler (patch...
Vadim Zeitlin [Sat, 7 Apr 2007 11:39:44 +0000 (11:39 +0000)] 
don't access the window after it had been deleted by the focus event handler (patch 1693063)

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

17 years agofix typo in OnClosingDocument() name
Vadim Zeitlin [Sat, 7 Apr 2007 10:40:11 +0000 (10:40 +0000)] 
fix typo in OnClosingDocument() name

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

17 years agoSTL build compilation fix
Václav Slavík [Sat, 7 Apr 2007 09:25:07 +0000 (09:25 +0000)] 
STL build compilation fix

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

17 years agoadd conversion of wxUniChar[Ref] to unsigned int if it's not already covered by conve...
Vadim Zeitlin [Fri, 6 Apr 2007 23:16:00 +0000 (23:16 +0000)] 
add conversion of wxUniChar[Ref] to unsigned int if it's not already covered by conversion to wint_t

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

17 years agoadded operator-(const wxChar *, const wxCStrData&) to allow compilation of the code...
Vadim Zeitlin [Fri, 6 Apr 2007 22:56:06 +0000 (22:56 +0000)] 
added operator-(const wxChar *, const wxCStrData&) to allow compilation of the code doing "p - s.c_str()" where p is a pointer into the string s

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

17 years agoCompilation fix for wxCStrData handling.
Stefan Neis [Fri, 6 Apr 2007 22:52:16 +0000 (22:52 +0000)] 
Compilation fix for wxCStrData handling.

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

17 years agowxCStrData must be dllexport'd now that it has non-inline methods
Vadim Zeitlin [Fri, 6 Apr 2007 22:48:54 +0000 (22:48 +0000)] 
wxCStrData must be dllexport'd now that it has non-inline methods

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

17 years agosuppress warning about converting -1 to MenuItemIndex
Vadim Zeitlin [Fri, 6 Apr 2007 22:41:10 +0000 (22:41 +0000)] 
suppress warning about converting -1 to MenuItemIndex

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

17 years agoBugfix (comparision vs. assignment).
Stefan Neis [Fri, 6 Apr 2007 22:16:17 +0000 (22:16 +0000)] 
Bugfix (comparision vs. assignment).

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

17 years agoAdded missing argument for DoGiveHelp.
Stefan Neis [Fri, 6 Apr 2007 21:42:54 +0000 (21:42 +0000)] 
Added missing argument for DoGiveHelp.

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

17 years agocompilation fix: don't try to convert wxString to bool, use empty() instead
Vadim Zeitlin [Fri, 6 Apr 2007 21:38:05 +0000 (21:38 +0000)] 
compilation fix: don't try to convert wxString to bool, use empty() instead

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

17 years agocompilation fix: don't try to convert wxString to bool (apparently unnecessarily)
Vadim Zeitlin [Fri, 6 Apr 2007 21:35:21 +0000 (21:35 +0000)] 
compilation fix: don't try to convert wxString to bool (apparently unnecessarily)

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

17 years agocompilation fix: test correctly for filter string not being empty in MakeUserDataRec
Vadim Zeitlin [Fri, 6 Apr 2007 21:23:52 +0000 (21:23 +0000)] 
compilation fix: test correctly for filter string not being empty in MakeUserDataRec

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

17 years agoMore patches from FM to clean up after moving contribs. Also removes
Robin Dunn [Fri, 6 Apr 2007 21:08:30 +0000 (21:08 +0000)] 
More patches from FM to clean up after moving contribs.  Also removes
use of wxUSE_RESOURCES

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

17 years agoRather use the "obvious" implementation of wxStaticText::DoGetLabel().
Stefan Neis [Fri, 6 Apr 2007 20:49:07 +0000 (20:49 +0000)] 
Rather use the "obvious" implementation of wxStaticText::DoGetLabel().

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

17 years agoTentative implementation of wxStaticText::DoGetLabel().
Stefan Neis [Fri, 6 Apr 2007 20:42:29 +0000 (20:42 +0000)] 
Tentative implementation of wxStaticText::DoGetLabel().

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

17 years agoCompilation fix for wxCStrData handling.
Stefan Neis [Fri, 6 Apr 2007 20:31:02 +0000 (20:31 +0000)] 
Compilation fix for wxCStrData handling.

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

17 years agoCompilation fix for wxCStrData handling.
Stefan Neis [Fri, 6 Apr 2007 20:06:41 +0000 (20:06 +0000)] 
Compilation fix for wxCStrData handling.

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

17 years agohandle child destruction notifications in wxTLW itself and reset both normal and...
Vadim Zeitlin [Fri, 6 Apr 2007 19:22:38 +0000 (19:22 +0000)] 
handle child destruction notifications in wxTLW itself and reset both normal and temporary default item pointers when the default window is destroyed

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

17 years agomore compilation and linking fixes for !wxHAS_NATIVE_TAB_TRAVERSAL after recent changes
Vadim Zeitlin [Fri, 6 Apr 2007 19:16:07 +0000 (19:16 +0000)] 
more compilation and linking fixes for !wxHAS_NATIVE_TAB_TRAVERSAL after recent changes

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

17 years agocompilation fix for VC7.1: add size_t overloads for arithmetic operators on wxStringI...
Vadim Zeitlin [Fri, 6 Apr 2007 19:08:21 +0000 (19:08 +0000)] 
compilation fix for VC7.1: add size_t overloads for arithmetic operators on wxStringImpl::iterator

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

17 years agoCompilation fix for wxCStrData handling.
Stefan Neis [Fri, 6 Apr 2007 18:08:32 +0000 (18:08 +0000)] 
Compilation fix for wxCStrData handling.

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

17 years agoCompilation fix for wxCStrData handling.
Stefan Neis [Fri, 6 Apr 2007 17:22:29 +0000 (17:22 +0000)] 
Compilation fix for wxCStrData handling.

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

17 years agoOS/2 specific compilation fix for wxCStrData handling.
Stefan Neis [Fri, 6 Apr 2007 17:10:03 +0000 (17:10 +0000)] 
OS/2 specific compilation fix for wxCStrData handling.

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

17 years agocompilation fix for g++ 3 (and probably others) after the last commit
Vadim Zeitlin [Thu, 5 Apr 2007 22:33:16 +0000 (22:33 +0000)] 
compilation fix for g++ 3 (and probably others) after the last commit

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

17 years agocompilation fixes for generic TAB navigation after last commit
Vadim Zeitlin [Thu, 5 Apr 2007 22:32:35 +0000 (22:32 +0000)] 
compilation fixes for generic TAB navigation after last commit

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

17 years agomake wxControlContainer accept focus depending on whether it has any focusable childr...
Vadim Zeitlin [Thu, 5 Apr 2007 22:29:14 +0000 (22:29 +0000)] 
make wxControlContainer accept focus depending on whether it has any focusable children when using native TAB navigation too but also allow to manually override this automatic detection; added wxWindow::SetCanFocus() to notify GTK+ about changed focus state

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

17 years agowxString::[const_]iterator operators -= and += should return reference and not iterat...
Vadim Zeitlin [Thu, 5 Apr 2007 21:56:21 +0000 (21:56 +0000)] 
wxString::[const_]iterator operators -= and += should return reference and not iterator object

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

17 years agoadded overloads taking pairs of const char/wchar_t pointers for wxString methods...
Vadim Zeitlin [Thu, 5 Apr 2007 21:55:29 +0000 (21:55 +0000)] 
added overloads taking pairs of const char/wchar_t pointers for wxString methods working with const_iterators for backwards compatibility with old wxString::const_iterator which used to be convertible to/from const wxChar *

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

17 years agoadded WX_ASSERT_STR_EQUAL helper macro for comparing wxStrings with C strings
Vadim Zeitlin [Thu, 5 Apr 2007 21:54:29 +0000 (21:54 +0000)] 
added WX_ASSERT_STR_EQUAL helper macro for comparing wxStrings with C strings

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

17 years agocompilation fix for previous commit
Václav Slavík [Thu, 5 Apr 2007 21:47:35 +0000 (21:47 +0000)] 
compilation fix for previous commit

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

17 years agoprovide both const char* and const wchar_t* implicit conversion of wxCStrData regardl...
Václav Slavík [Thu, 5 Apr 2007 21:28:14 +0000 (21:28 +0000)] 
provide both const char* and const wchar_t* implicit conversion of wxCStrData regardless of the build type

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

17 years agoCompile fix for gcc on MSW
Robin Dunn [Thu, 5 Apr 2007 18:28:28 +0000 (18:28 +0000)] 
Compile fix for gcc on MSW

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

17 years agoPatch from FM with more bakefile tweaks and etc.
Robin Dunn [Thu, 5 Apr 2007 18:26:59 +0000 (18:26 +0000)] 
Patch from FM with more bakefile tweaks and etc.

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

17 years agoavoid assert in window list drop down
Benjamin Williams [Thu, 5 Apr 2007 16:31:23 +0000 (16:31 +0000)] 
avoid assert in window list drop down

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

17 years agocompilation fixes
Václav Slavík [Thu, 5 Apr 2007 15:38:36 +0000 (15:38 +0000)] 
compilation fixes

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

17 years agouse wxINT32_MIN, not LONG_MIN, in wxDateTime default ctor to fix it under LP64 platforms
Vadim Zeitlin [Thu, 5 Apr 2007 15:01:48 +0000 (15:01 +0000)] 
use wxINT32_MIN, not LONG_MIN, in wxDateTime default ctor to fix it under LP64 platforms

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

17 years agochanged wxLongLongNative(hi, lo) ctor to take wxInt32, not long, as it was completely...
Vadim Zeitlin [Thu, 5 Apr 2007 15:00:24 +0000 (15:00 +0000)] 
changed wxLongLongNative(hi, lo) ctor to take wxInt32, not long, as it was completely broken on LP64 architectures otherwise

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

17 years agodefine C99-like wxINT8/16/32_MIN/MAX constants in addition to wxInt8/16/32 types
Vadim Zeitlin [Thu, 5 Apr 2007 14:58:58 +0000 (14:58 +0000)] 
define C99-like wxINT8/16/32_MIN/MAX constants in addition to wxInt8/16/32 types

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

17 years agocorrected signed/unsigned comparison warning
Vadim Zeitlin [Thu, 5 Apr 2007 14:21:55 +0000 (14:21 +0000)] 
corrected signed/unsigned comparison warning

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

17 years agofix another warning about unused variable in DoCStrDataTernaryOperator()
Vadim Zeitlin [Thu, 5 Apr 2007 14:19:18 +0000 (14:19 +0000)] 
fix another warning about unused variable in DoCStrDataTernaryOperator()

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

17 years agofix warning about unused variable in DoCStrDataTernaryOperator()
Vadim Zeitlin [Thu, 5 Apr 2007 12:41:19 +0000 (12:41 +0000)] 
fix warning about unused variable in DoCStrDataTernaryOperator()

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

17 years agoconstruct wxBasicString directly from wxString instead of passing by mb_str(): this...
Vadim Zeitlin [Thu, 5 Apr 2007 09:58:13 +0000 (09:58 +0000)] 
construct wxBasicString directly from wxString instead of passing by mb_str(): this is completely unnecessary (and also happens not to compile in Unicode build currently)

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

17 years agofix typo in allowOthers description
Vadim Zeitlin [Thu, 5 Apr 2007 09:33:42 +0000 (09:33 +0000)] 
fix typo in allowOthers description

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

17 years agomade wxString::Replace, Matches and Find work with any form of string argument
Václav Slavík [Thu, 5 Apr 2007 08:35:39 +0000 (08:35 +0000)] 
made wxString::Replace, Matches and Find work with any form of string argument

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

17 years agoBakefile and other changes for new locations of STC and wxSVGFileDC.
Robin Dunn [Thu, 5 Apr 2007 06:27:23 +0000 (06:27 +0000)] 
Bakefile and other changes for new locations of STC and wxSVGFileDC.
Remove old files in contrib.

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

17 years agocompilation fix for Unicode build: remove ambiguity arising when trying to pass wxCha...
Vadim Zeitlin [Wed, 4 Apr 2007 23:41:40 +0000 (23:41 +0000)] 
compilation fix for Unicode build: remove ambiguity arising when trying to pass wxCharBuffer to wxBasicString ctor which is overloaded for const char * and wxString by passing it directly wxString instead of calling mb_str() on it first

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

17 years agodon't call OnMouseEnter(-1) twice when the mouse leaves the toolbar but wasn't over...
Vadim Zeitlin [Wed, 4 Apr 2007 13:38:37 +0000 (13:38 +0000)] 
don't call OnMouseEnter(-1) twice when the mouse leaves the toolbar but wasn't over a tool before

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

17 years agobuild fixes after previous commit
Václav Slavík [Wed, 4 Apr 2007 11:40:36 +0000 (11:40 +0000)] 
build fixes after previous commit

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

17 years agocall SetEventObject() for wxHtmlLinkEvents we generate
Vadim Zeitlin [Wed, 4 Apr 2007 02:00:32 +0000 (02:00 +0000)] 
call SetEventObject() for wxHtmlLinkEvents we generate

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

17 years agocleanup of wxString ctors and operator=: made both char* and wchar_t* versions availa...
Václav Slavík [Tue, 3 Apr 2007 20:29:42 +0000 (20:29 +0000)] 
cleanup of wxString ctors and operator=: made both char* and wchar_t* versions available, regardless of the build

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

17 years agoUse our own getters and properties for wxVisualAttributes
Robin Dunn [Tue, 3 Apr 2007 18:42:01 +0000 (18:42 +0000)] 
Use our own getters and properties for wxVisualAttributes

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

17 years agoUndid last commit and restored bool argument to wxFrame::DoGiveHelp() as
Vadim Zeitlin [Tue, 3 Apr 2007 18:04:44 +0000 (18:04 +0000)] 
Undid last commit and restored bool argument to wxFrame::DoGiveHelp() as
removing it could silently break existing user code overriding this function.

Fix the problem with not restoring the original status bar text when the mouse
pointer left the toolbar by simply calling DoGiveHelp() with false as second
parameter only if there was no valid tool under mouse, not if the help string
(for a valid tool) was empty.

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

17 years agoremoved unnecessary checks for m_clipboard/targetsWidget being non-NULL in dtor:...
Vadim Zeitlin [Tue, 3 Apr 2007 15:12:31 +0000 (15:12 +0000)] 
removed unnecessary checks for m_clipboard/targetsWidget being non-NULL in dtor: they're used without these checks in many other places anyhow

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

17 years agoremoved second parameter of wxFrame::DoGiveHelp(), the help string is always shown...
Vadim Zeitlin [Tue, 3 Apr 2007 11:27:53 +0000 (11:27 +0000)] 
removed second parameter of wxFrame::DoGiveHelp(), the help string is always shown (even if it's empty), not hidden; this hopefully really fixes restoring the previously shown status bar text when the menu is dismissed

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

17 years agoBCC5.5 compilation fix
Václav Slavík [Tue, 3 Apr 2007 10:36:40 +0000 (10:36 +0000)] 
BCC5.5 compilation fix

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

17 years agocompilation fix for BCC5.5
Václav Slavík [Tue, 3 Apr 2007 10:06:08 +0000 (10:06 +0000)] 
compilation fix for BCC5.5

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

17 years agofixed wxBitmap<->wxImage conversion to not exchange red and blue components
Václav Slavík [Tue, 3 Apr 2007 08:46:53 +0000 (08:46 +0000)] 
fixed wxBitmap<->wxImage conversion to not exchange red and blue components

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

17 years agobuild fixes for wxUSE_VALIDATORS==0
Paul Cornett [Tue, 3 Apr 2007 02:44:32 +0000 (02:44 +0000)] 
build fixes for wxUSE_VALIDATORS==0

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

17 years agomore checks for non-scrolling windows, some code duplication cleanup
Paul Cornett [Tue, 3 Apr 2007 02:15:02 +0000 (02:15 +0000)] 
more checks for non-scrolling windows, some code duplication cleanup

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

17 years agoquote AM_PATH_WXCONFIG arguments before passing them to WX_CONFIG_CHECK, otherwise...
Vadim Zeitlin [Tue, 3 Apr 2007 01:02:05 +0000 (01:02 +0000)] 
quote AM_PATH_WXCONFIG arguments before passing them to WX_CONFIG_CHECK, otherwise they're lost when using autoconf 2.13

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

17 years agoremoved second parameter of wxFrame::DoGiveHelp(), the help string is always shown...
Vadim Zeitlin [Mon, 2 Apr 2007 22:00:52 +0000 (22:00 +0000)] 
removed second parameter of wxFrame::DoGiveHelp(), the help string is always shown (even if it's empty), not hidden; this hopefully really fixes restoring the previously shown status bar text when the menu is dismissed

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

17 years agoreSWIGged
Robin Dunn [Mon, 2 Apr 2007 21:37:01 +0000 (21:37 +0000)] 
reSWIGged

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

17 years agoElippsis and markup support for wxStaticText
Robin Dunn [Mon, 2 Apr 2007 21:26:39 +0000 (21:26 +0000)] 
Elippsis and markup support for wxStaticText

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

17 years agoAdd wx.SizerItem.Assign* methods, deprecate coresponding wx.SizerItem.Set* methods
Robin Dunn [Mon, 2 Apr 2007 21:25:19 +0000 (21:25 +0000)] 
Add wx.SizerItem.Assign* methods, deprecate coresponding wx.SizerItem.Set* methods

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

17 years agoremove some problem commas
Robin Dunn [Mon, 2 Apr 2007 21:24:35 +0000 (21:24 +0000)] 
remove some problem commas

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

17 years agoPrimary selection stuff
Robin Dunn [Mon, 2 Apr 2007 21:23:35 +0000 (21:23 +0000)] 
Primary selection stuff

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

17 years agofix test code
Robin Dunn [Mon, 2 Apr 2007 21:21:35 +0000 (21:21 +0000)] 
fix test code

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

17 years agopatch from Andrea fixing sending of events and drawing of lines at root.
Robin Dunn [Mon, 2 Apr 2007 21:20:16 +0000 (21:20 +0000)] 
patch from Andrea fixing sending of events and drawing of lines at root.

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

17 years agoGizmos has been moved to wxCode.
Robin Dunn [Mon, 2 Apr 2007 21:19:13 +0000 (21:19 +0000)] 
Gizmos has been moved to wxCode.

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

17 years agoEnable the use of the primary selection
Robin Dunn [Mon, 2 Apr 2007 21:17:45 +0000 (21:17 +0000)] 
Enable the use of the primary selection

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

17 years agoAlways use wxHSCROLL|wxVSCROLL.
Robin Dunn [Mon, 2 Apr 2007 21:15:27 +0000 (21:15 +0000)] 
Always use wxHSCROLL|wxVSCROLL.

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

17 years agoget wx and tex2rtf docs only
Chris Elliott [Mon, 2 Apr 2007 20:35:35 +0000 (20:35 +0000)] 
get wx and tex2rtf docs only

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

17 years agorestore cvs up
Chris Elliott [Mon, 2 Apr 2007 18:14:37 +0000 (18:14 +0000)] 
restore cvs up

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