]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agoBig wxGL classes refactoring/cleanup:
Vadim Zeitlin [Tue, 10 Apr 2007 17:38:55 +0000 (17:38 +0000)] 
Big wxGL classes refactoring/cleanup:

1. Provide the same API, especially, but not limited to, wxGLCanvas and
   wxCLContext ctors (which were completely different in all ports)
2. Extracted common parts into wxGLCanvas/ContextBase classes
3. Deprecate the old API using implicitly created wxGLContext

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

17 years agorename the menu to avoid conflict with a standard Mac menu
Vadim Zeitlin [Tue, 10 Apr 2007 16:51:52 +0000 (16:51 +0000)] 
rename the menu to avoid conflict with a standard Mac menu

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

17 years agodon't change the case of extensions
Stefan Csomor [Tue, 10 Apr 2007 16:09:30 +0000 (16:09 +0000)] 
don't change the case of extensions

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

17 years agofixed typo: _T(), not _()
Václav Slavík [Tue, 10 Apr 2007 14:55:02 +0000 (14:55 +0000)] 
fixed typo: _T(), not _()

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

17 years agoadd GetOwner() documentation
Vadim Zeitlin [Tue, 10 Apr 2007 14:35:34 +0000 (14:35 +0000)] 
add GetOwner() documentation

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

17 years agoremoved unused CByteArrayFormat function
Václav Slavík [Tue, 10 Apr 2007 13:37:27 +0000 (13:37 +0000)] 
removed unused CByteArrayFormat function

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

17 years agoaccomodating to new files
Stefan Csomor [Tue, 10 Apr 2007 13:25:13 +0000 (13:25 +0000)] 
accomodating to new files

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

17 years agousing info plist above, debug on native arch only
Stefan Csomor [Tue, 10 Apr 2007 12:49:24 +0000 (12:49 +0000)] 
using info plist above, debug on native arch only

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

17 years agoneeds threads...
Stefan Csomor [Tue, 10 Apr 2007 12:35:29 +0000 (12:35 +0000)] 
needs threads...

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

17 years agocorrecting include style
Stefan Csomor [Tue, 10 Apr 2007 12:23:44 +0000 (12:23 +0000)] 
correcting include style

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

17 years agofixing refcounting for embedded native controls
Stefan Csomor [Tue, 10 Apr 2007 11:23:51 +0000 (11:23 +0000)] 
fixing refcounting for embedded native controls

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

17 years ago Document wxWindow::Navigate() instead of generation
Robert Roebling [Tue, 10 Apr 2007 08:03:39 +0000 (08:03 +0000)] 
  Document wxWindow::Navigate() instead of generation
    of a navigation event in the text on wxWANTS_CHARS.

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

17 years agocompilation fix after last commit
Vadim Zeitlin [Tue, 10 Apr 2007 01:29:16 +0000 (01:29 +0000)] 
compilation fix after last commit

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

17 years agorefresh GL canvas itself, not the frame, when the GL context changes, otherwise it...
Vadim Zeitlin [Tue, 10 Apr 2007 00:02:15 +0000 (00:02 +0000)] 
refresh GL canvas itself, not the frame, when the GL context changes, otherwise it doesn't redraw under wxGTK1

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

17 years agoreverted patch 1325857 (rev 1.561): it might have fixed handling of CJK keys but...
Vadim Zeitlin [Mon, 9 Apr 2007 23:42:34 +0000 (23:42 +0000)] 
reverted patch 1325857 (rev 1.561): it might have fixed handling of CJK keys but broke handling of the normal keys without IM

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

17 years agofix the sample to work under X11 (where a context can't be made current before the...
Vadim Zeitlin [Mon, 9 Apr 2007 23:03:54 +0000 (23:03 +0000)] 
fix the sample to work under X11 (where a context can't be made current before the window is realized)

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

17 years ago1. switched to new wxGLCanvas API (not using the implicit context)
Vadim Zeitlin [Mon, 9 Apr 2007 22:54:40 +0000 (22:54 +0000)] 
1. switched to new wxGLCanvas API (not using the implicit context)
2. pruned everything not related to OpenGL, making the remaining code much
   more readable
3. show using the same wxGLContext with multiple wxGLCanvases

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

17 years agolast version was broken and died when trying to create config.status, regenerated...
Vadim Zeitlin [Mon, 9 Apr 2007 22:32:30 +0000 (22:32 +0000)] 
last version was broken and died when trying to create config.status, regenerated a working one

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

17 years agotruncate the static box label to fit the control size (patch 1695228)
Vadim Zeitlin [Mon, 9 Apr 2007 21:39:09 +0000 (21:39 +0000)] 
truncate the static box label to fit the control size (patch 1695228)

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

17 years agomake Enter/Return activate the default button (second version of patch 1696563)
Vadim Zeitlin [Mon, 9 Apr 2007 21:28:27 +0000 (21:28 +0000)] 
make Enter/Return activate the default button (second version of patch 1696563)

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

17 years agodon't use Pango hack for drawing underlined text when using new enough version of...
Vadim Zeitlin [Mon, 9 Apr 2007 21:21:44 +0000 (21:21 +0000)] 
don't use Pango hack for drawing underlined text when using new enough version of Pango (patch 1697040)

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

17 years agodon't return the next line text from GetLineText() for empty lines (patch 1697208)
Vadim Zeitlin [Mon, 9 Apr 2007 21:17:09 +0000 (21:17 +0000)] 
don't return the next line text from GetLineText() for empty lines (patch 1697208)

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

17 years agoadded wxgl pseudotarget
Václav Slavík [Mon, 9 Apr 2007 20:33:57 +0000 (20:33 +0000)] 
added wxgl pseudotarget

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

17 years ago Replace direct calls to ProcessEvent() with
Mattia Barbon [Mon, 9 Apr 2007 16:43:23 +0000 (16:43 +0000)] 
  Replace direct calls to ProcessEvent() with
GetEventHandler()->ProcessEvent().

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

17 years agoescape &
Vadim Zeitlin [Mon, 9 Apr 2007 16:09:20 +0000 (16:09 +0000)] 
escape &

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

17 years agofix --with-opengl formatting
Vadim Zeitlin [Mon, 9 Apr 2007 16:04:03 +0000 (16:04 +0000)] 
fix --with-opengl formatting

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

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