]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agodon't overwrite the buffer if extending it failed
Vadim Zeitlin [Mon, 9 Apr 2007 15:52:27 +0000 (15:52 +0000)] 
don't overwrite the buffer if extending it failed

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

17 years agoreplaced deprecated wxMULTIPLE with wxFD_MULTIPLE
Vadim Zeitlin [Mon, 9 Apr 2007 15:50:25 +0000 (15:50 +0000)] 
replaced deprecated wxMULTIPLE with wxFD_MULTIPLE

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

17 years agocompilation fixes: remove unneeded c_str()
Vadim Zeitlin [Mon, 9 Apr 2007 15:46:34 +0000 (15:46 +0000)] 
compilation fixes: remove unneeded c_str()

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

17 years agoadded wx/image.h to fix compilation without PCH after last change
Vadim Zeitlin [Mon, 9 Apr 2007 13:51:43 +0000 (13:51 +0000)] 
added wx/image.h to fix compilation without PCH after last change

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

17 years agoundid signed/unsigned warning fix of rev 1.73 as the type of wxString::iterator:...
Vadim Zeitlin [Mon, 9 Apr 2007 12:21:51 +0000 (12:21 +0000)] 
undid signed/unsigned warning fix of rev 1.73 as the type of wxString::iterator::operator-() is now signed again

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

17 years agocompilation fix after last change
Vadim Zeitlin [Mon, 9 Apr 2007 12:19:12 +0000 (12:19 +0000)] 
compilation fix after last change

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

17 years agofix unused parameter warning introduced by last commit
Vadim Zeitlin [Mon, 9 Apr 2007 12:13:54 +0000 (12:13 +0000)] 
fix unused parameter warning introduced by last commit

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

17 years agomake wxVarVScrollLegacyAdaptor::OnGetLineHeight() non-pure virtual to fix compilation...
Vadim Zeitlin [Mon, 9 Apr 2007 11:37:04 +0000 (11:37 +0000)] 
make wxVarVScrollLegacyAdaptor::OnGetLineHeight() non-pure virtual to fix compilation with WXWIN_COMPATIBILITY_2_8==1

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

17 years agocompilation fixes after last commit
Vadim Zeitlin [Mon, 9 Apr 2007 11:18:54 +0000 (11:18 +0000)] 
compilation fixes after last commit

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

17 years agostring iterator's operator- should return difference_type, not size_t or unsigned
Václav Slavík [Mon, 9 Apr 2007 08:18:33 +0000 (08:18 +0000)] 
string iterator's operator- should return difference_type, not size_t or unsigned

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

17 years agoremoved spurious semicolons
Václav Slavík [Mon, 9 Apr 2007 06:50:28 +0000 (06:50 +0000)] 
removed spurious semicolons

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

17 years agocompilation fix: needs wx/string.h
Václav Slavík [Mon, 9 Apr 2007 06:47:51 +0000 (06:47 +0000)] 
compilation fix: needs wx/string.h

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

17 years agoadded missing membersection for CreateIconBundle
Vadim Zeitlin [Mon, 9 Apr 2007 00:19:13 +0000 (00:19 +0000)] 
added missing membersection for CreateIconBundle

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

17 years agofix a fatal crash due to using wxHSCROLL presence in m_windowStyle as indicator of...
Vadim Zeitlin [Sun, 8 Apr 2007 23:25:36 +0000 (23:25 +0000)] 
fix a fatal crash due to using wxHSCROLL presence in m_windowStyle as indicator of whether we wrap lines or not: this didn't work because wxHSCROLL was temporarily reset in wxWindow::Create() and so we used wxTextWrappedData when we only had created wxTextMultiLineData

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

17 years agodon't skip the scroll position validity check in CalcScrollInc() if m_[xy]ScrollPixel...
Vadim Zeitlin [Sun, 8 Apr 2007 23:06:42 +0000 (23:06 +0000)] 
don't skip the scroll position validity check in CalcScrollInc() if m_[xy]ScrollPixelsPerLine is NULL, this resulted in problems mentioned in patch 1696082

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

17 years agopass 0, not NULL, to SendMsg() which takes long to avoid gcc warnings
Vadim Zeitlin [Sun, 8 Apr 2007 22:42:45 +0000 (22:42 +0000)] 
pass 0, not NULL, to SendMsg() which takes long to avoid gcc warnings

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

17 years agoadded mouse wheel support (patch 1696082)
Vadim Zeitlin [Sun, 8 Apr 2007 22:28:42 +0000 (22:28 +0000)] 
added mouse wheel support (patch 1696082)

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

17 years agocompilation fix after last change
Vadim Zeitlin [Sun, 8 Apr 2007 22:26:53 +0000 (22:26 +0000)] 
compilation fix after last change

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

17 years agoCall wxTLW::SetDefaultItem() from wxButtonBase::SetDefault() instead of doing
Vadim Zeitlin [Sun, 8 Apr 2007 22:18:35 +0000 (22:18 +0000)] 
Call wxTLW::SetDefaultItem() from wxButtonBase::SetDefault() instead of doing
it in wxButton implementations in (almost) all ports; changed its return type
to "wxWindow *" from "void" to accommodate the ports needing the old default
item (replaces part of patch 1696563)

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

17 years agomake test_for_selected_wxbuild target optional (patch 1696363)
Vadim Zeitlin [Sun, 8 Apr 2007 21:45:11 +0000 (21:45 +0000)] 
make test_for_selected_wxbuild target optional (patch 1696363)

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

17 years agofix the problem with parsing HTML comments (closes bug 1116708; based on patch 1168583)
Vadim Zeitlin [Sun, 8 Apr 2007 21:02:03 +0000 (21:02 +0000)] 
fix the problem with parsing HTML comments (closes bug 1116708; based on patch 1168583)

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

17 years agofix crash in ~wxString with global wxString objects: temporarily move conversion...
Václav Slavík [Sun, 8 Apr 2007 17:52:00 +0000 (17:52 +0000)] 
fix crash in ~wxString with global wxString objects: temporarily move conversion buffers from a hash to wxString

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

17 years agodon't build wxscintilla lib if wxSTC is not built
Václav Slavík [Sun, 8 Apr 2007 13:59:16 +0000 (13:59 +0000)] 
don't build wxscintilla lib if wxSTC is not built

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

17 years agofix new wxHVScroll code to build with WXWIN_COMPATIBILITY_2_8==0
Vadim Zeitlin [Sun, 8 Apr 2007 13:55:36 +0000 (13:55 +0000)] 
fix new wxHVScroll code to build with WXWIN_COMPATIBILITY_2_8==0

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

17 years agoChildren need to be updated in size_allocate even if widget is not realized.
Paul Cornett [Sun, 8 Apr 2007 06:13:21 +0000 (06:13 +0000)] 
Children need to be updated in size_allocate even if widget is not realized.
Fix initial GdkWindow sizes in realize.

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

17 years agocompilation fix for !USE_PCH (added missing wx/dc.h include)
Vadim Zeitlin [Sun, 8 Apr 2007 02:08:22 +0000 (02:08 +0000)] 
compilation fix for !USE_PCH (added missing wx/dc.h include)

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

17 years agoThe great wxVScrolledWindow refactoring: allow using it both horizontal and
Vadim Zeitlin [Sun, 8 Apr 2007 01:58:16 +0000 (01:58 +0000)] 
The great wxVScrolledWindow refactoring: allow using it both horizontal and
vertical directions (slightly modified patch 1671181)

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

17 years agocorrected typo in the creation date
Vadim Zeitlin [Sun, 8 Apr 2007 00:51:12 +0000 (00:51 +0000)] 
corrected typo in the creation date

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

17 years agoadded wxPosition helper class (extracted from patch 1671181)
Vadim Zeitlin [Sun, 8 Apr 2007 00:49:41 +0000 (00:49 +0000)] 
added wxPosition helper class (extracted from patch 1671181)

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

17 years agoadded wxEXEC_BLOCK flag (patch 1620430)
Vadim Zeitlin [Sun, 8 Apr 2007 00:43:10 +0000 (00:43 +0000)] 
added wxEXEC_BLOCK flag (patch 1620430)

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

17 years agouse wxFD_XXX instead of deprecated wxXXX in the documentation
Vadim Zeitlin [Sun, 8 Apr 2007 00:23:14 +0000 (00:23 +0000)] 
use wxFD_XXX instead of deprecated wxXXX in the documentation

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

17 years agoadded wxEXEC_BLOCK flag (patch 1620430)
Vadim Zeitlin [Sun, 8 Apr 2007 00:18:09 +0000 (00:18 +0000)] 
added wxEXEC_BLOCK flag (patch 1620430)

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

17 years agouse wxIconBundle::GetIconOfExactSize() instead of duplicating its code
Vadim Zeitlin [Sat, 7 Apr 2007 23:54:12 +0000 (23:54 +0000)] 
use wxIconBundle::GetIconOfExactSize() instead of duplicating its code

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

17 years agoadded GetIconOfExactSize()
Vadim Zeitlin [Sat, 7 Apr 2007 23:53:06 +0000 (23:53 +0000)] 
added GetIconOfExactSize()

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

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