wxWidgets.git
17 years agoput #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch...
Vadim Zeitlin [Fri, 25 May 2007 00:53:12 +0000 (00:53 +0000)] 
put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch 1721939)

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

17 years agoadded wxMSW-specific wxEntryStart() overload taking WinMain-like parameters
Vadim Zeitlin [Fri, 25 May 2007 00:52:00 +0000 (00:52 +0000)] 
added wxMSW-specific wxEntryStart() overload taking WinMain-like parameters

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

17 years agofix unreachable code warning in GetUntranslatedString()
Vadim Zeitlin [Fri, 25 May 2007 00:46:20 +0000 (00:46 +0000)] 
fix unreachable code warning in GetUntranslatedString()

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

17 years agodisable clearing event tables by default, only do it if wxUSE_MEMORY_TRACING is used...
Vadim Zeitlin [Thu, 24 May 2007 23:53:05 +0000 (23:53 +0000)] 
disable clearing event tables by default, only do it if wxUSE_MEMORY_TRACING is used: this fixes the problems with events not being dispatched correctly when the library is reinitialized

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

17 years ago1. Derive wxMessageDialogBase from wxDialog (why did we use multiple
Vadim Zeitlin [Thu, 24 May 2007 12:50:42 +0000 (12:50 +0000)] 
1. Derive wxMessageDialogBase from wxDialog (why did we use multiple
   inheritance here?), moved more wxMessageDialog fields into the base class
2. Added functions to set the text of message box buttons (patch 1700393,
   currently only implemented for wxMac)
3. Added wxMessageDialog::SetMessage() and SetExtendedMessage() and
   implemented them for wxMac (part of the patch), wxGTK 2.4+ and in
   a generic way for everybody else
4. Allow changing the dialog attributes between creating and showing it,
   for this the real dialog creation is now done on in ShowModal() in all
   ports

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

17 years agofix DLL export declaration (adv, not core)
Vadim Zeitlin [Thu, 24 May 2007 12:42:25 +0000 (12:42 +0000)] 
fix DLL export declaration (adv, not core)

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

17 years agodon't create wxEventLoop in Initialize(), it's too early to do it there -- wait until...
Vadim Zeitlin [Thu, 24 May 2007 12:28:31 +0000 (12:28 +0000)] 
don't create wxEventLoop in Initialize(), it's too early to do it there -- wait until it's really needed in MainLoop()

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

17 years agoput #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch...
Vadim Zeitlin [Thu, 24 May 2007 10:59:56 +0000 (10:59 +0000)] 
put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch 1721939)

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

17 years agos/wxStaticIcon/wxStaticBitmap/g (bug 1724527)
Vadim Zeitlin [Thu, 24 May 2007 10:56:31 +0000 (10:56 +0000)] 
s/wxStaticIcon/wxStaticBitmap/g (bug 1724527)

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

17 years agoinclude wx/wxcrtvararg.h needed for wxSscanf() when WXWIN_COMPATIBILITY_2_8 == 0
Vadim Zeitlin [Thu, 24 May 2007 09:57:47 +0000 (09:57 +0000)] 
include wx/wxcrtvararg.h needed for wxSscanf() when WXWIN_COMPATIBILITY_2_8 == 0

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

17 years agoadded wxRect::operator+() and *() (union and intersection); also made other operators...
Vadim Zeitlin [Thu, 24 May 2007 01:47:29 +0000 (01:47 +0000)] 
added wxRect::operator+() and *() (union and intersection); also made other operators friends instead of members (patch 1589175)

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

17 years agodeclare wxFileSelectorDefaultWildcardStr to fix compilation without PCH
Vadim Zeitlin [Thu, 24 May 2007 01:37:22 +0000 (01:37 +0000)] 
declare wxFileSelectorDefaultWildcardStr to fix compilation without PCH

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

17 years agoadded wxAppTraits::CreateConfig() (patch 1721149)
Vadim Zeitlin [Thu, 24 May 2007 00:50:54 +0000 (00:50 +0000)] 
added wxAppTraits::CreateConfig() (patch 1721149)

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

17 years agouse a different indicator when binding parameters and columns (patch 1718474)
Vadim Zeitlin [Thu, 24 May 2007 00:27:40 +0000 (00:27 +0000)] 
use a different indicator when binding parameters and columns (patch 1718474)

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

17 years agodeprecate unneeded wxDIRCTRL_SHOW_FILTERS style, just always show the filters if...
Vadim Zeitlin [Thu, 24 May 2007 00:14:59 +0000 (00:14 +0000)] 
deprecate unneeded wxDIRCTRL_SHOW_FILTERS style, just always show the filters if they're present (modified patch 1719448)

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

17 years agofix wxODCB_PAINTING_SELECTED not being always set (patch 1719364)
Vadim Zeitlin [Wed, 23 May 2007 23:58:09 +0000 (23:58 +0000)] 
fix wxODCB_PAINTING_SELECTED not being always set (patch 1719364)

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

17 years agodon't crash in dtor if the dialog had never been shown (patch 1723848)
Vadim Zeitlin [Wed, 23 May 2007 23:38:27 +0000 (23:38 +0000)] 
don't crash in dtor if the dialog had never been shown (patch 1723848)

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

17 years agotake wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir
Václav Slavík [Wed, 23 May 2007 19:10:36 +0000 (19:10 +0000)] 
take wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir

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

17 years ago [ 1712381 ] CRASH: closing floating panel on GTK
Robert Roebling [Tue, 22 May 2007 07:55:39 +0000 (07:55 +0000)] 
  [ 1712381 ] CRASH: closing floating panel on GTK

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

17 years ago [ 1721029 ] [GTK] memory leak in wxMenu
Robert Roebling [Tue, 22 May 2007 07:48:37 +0000 (07:48 +0000)] 
 [ 1721029 ] [GTK] memory leak in wxMenu

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

17 years agodon't define wxEventLoop class differently in GUI and base, this breaks the
Vadim Zeitlin [Tue, 22 May 2007 02:30:01 +0000 (02:30 +0000)] 
don't define wxEventLoop class differently in GUI and base, this breaks the
ODR and hence results in many problems in practice; instead use wxEventLoopBase
whenever possible and #define wxEventLoop differently in console applications

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

17 years agoremove unused static function (avoids a warning about it)
Vadim Zeitlin [Tue, 22 May 2007 02:02:51 +0000 (02:02 +0000)] 
remove unused static function (avoids a warning about it)

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

17 years agouse wxCoord with GetTextExtent(), not long (the long overloads are deprecated and...
Vadim Zeitlin [Tue, 22 May 2007 02:00:35 +0000 (02:00 +0000)] 
use wxCoord with GetTextExtent(), not long (the long overloads are deprecated and not available at all with 2.8 compatibility turned off)

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

17 years agodon't compare wxList::compatibility_iterator with NULL, this operation is undefined...
Vadim Zeitlin [Tue, 22 May 2007 01:45:37 +0000 (01:45 +0000)] 
don't compare wxList::compatibility_iterator with NULL, this operation is undefined and provokes g++ warnings about using NULL in arithmetic expression

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

17 years agopass wxStrings directly to wxFAIL_MSG, there is no need to use c_str()
Vadim Zeitlin [Tue, 22 May 2007 01:38:40 +0000 (01:38 +0000)] 
pass wxStrings directly to wxFAIL_MSG, there is no need to use c_str()

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

17 years agoadded wOnAssert(..., wxCStrData) overload to fix compilation of code using wxASSERT...
Vadim Zeitlin [Tue, 22 May 2007 01:36:24 +0000 (01:36 +0000)] 
added wOnAssert(..., wxCStrData) overload to fix compilation of code using wxASSERT(s.c_str())

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

17 years agoremove GetStandardCmdLineOptions() which is not needed for wxGTK1
Vadim Zeitlin [Tue, 22 May 2007 01:34:10 +0000 (01:34 +0000)] 
remove GetStandardCmdLineOptions() which is not needed for wxGTK1

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

17 years agoadded another needed wxOnAssert overload
Václav Slavík [Mon, 21 May 2007 18:24:42 +0000 (18:24 +0000)] 
added another needed wxOnAssert overload

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

17 years ago1. make debugging macros compatible with ANSI build even in Unicode build (i.e.,...
Václav Slavík [Mon, 21 May 2007 18:02:57 +0000 (18:02 +0000)] 
1. make debugging macros compatible with ANSI build even in Unicode build (i.e., no need to use _T() in message strings)
2. save space in binary by using ANSI literals for filenames and expression strings in debug macros

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

17 years agoreturn reference to non-temporary wxString instance from wxGetTranslation() even...
Václav Slavík [Mon, 21 May 2007 17:44:37 +0000 (17:44 +0000)] 
return reference to non-temporary wxString instance from wxGetTranslation() even when not translating

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

17 years agodebug messages don't need translation
Václav Slavík [Mon, 21 May 2007 14:27:16 +0000 (14:27 +0000)] 
debug messages don't need translation

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

17 years agoenter wxPendingEventLocker critical section in ProcessPendingEvents() (fixes 1720352)
Vadim Zeitlin [Mon, 21 May 2007 14:05:46 +0000 (14:05 +0000)] 
enter wxPendingEventLocker critical section in ProcessPendingEvents() (fixes 1720352)

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

17 years agocompilation fix: wxcrt.h, not crt.h
Václav Slavík [Sun, 20 May 2007 18:44:34 +0000 (18:44 +0000)] 
compilation fix: wxcrt.h, not crt.h

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

17 years agosimplify client size calculation
Paul Cornett [Sun, 20 May 2007 02:35:15 +0000 (02:35 +0000)] 
simplify client size calculation

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

17 years agoinitialize m_sizeSet
Paul Cornett [Sun, 20 May 2007 02:32:50 +0000 (02:32 +0000)] 
initialize m_sizeSet

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

17 years ago Implemented dropdown items in wxToolBar for wxGTK.
Robert Roebling [Sat, 19 May 2007 23:21:47 +0000 (23:21 +0000)] 
 Implemented dropdown items in wxToolBar for wxGTK.

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

17 years agomove m_sizeSet out of wxWindow
Paul Cornett [Sat, 19 May 2007 18:25:15 +0000 (18:25 +0000)] 
move m_sizeSet out of wxWindow

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

17 years agosimplify DoSetClientSize
Paul Cornett [Sat, 19 May 2007 17:34:42 +0000 (17:34 +0000)] 
simplify DoSetClientSize

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

17 years agorebaked after evtloopmsw.cpp removal
Vadim Zeitlin [Sat, 19 May 2007 13:32:12 +0000 (13:32 +0000)] 
rebaked after evtloopmsw.cpp removal

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

17 years agodocument wxLaunchDefaultBrowser() scheme handling
Vadim Zeitlin [Sat, 19 May 2007 12:51:52 +0000 (12:51 +0000)] 
document wxLaunchDefaultBrowser() scheme handling

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

17 years ago Prepend file:// if the URI in wxLaunchDefaultBrowser()
Robert Roebling [Sat, 19 May 2007 12:38:34 +0000 (12:38 +0000)] 
  Prepend file:// if the URI in wxLaunchDefaultBrowser()
    has no scheme and the local file exists.

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

17 years agorestore WX_UNICODE after building ANSI packages
Vadim Zeitlin [Sat, 19 May 2007 00:43:18 +0000 (00:43 +0000)] 
restore WX_UNICODE after building ANSI packages

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

17 years agoImplement a hack so the correct wxGUIEventLoop class will be used.
David Elliott [Fri, 18 May 2007 23:02:55 +0000 (23:02 +0000)] 
Implement a hack so the correct wxGUIEventLoop class will be used.

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

17 years agoAdd obvious implementation of wxGUIAppTraits::CreateEventLoop.
David Elliott [Fri, 18 May 2007 21:58:19 +0000 (21:58 +0000)] 
Add obvious implementation of wxGUIAppTraits::CreateEventLoop.

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

17 years agoInclude sys/types.h from selectdispatcher.h to ensure that fd_set is declared.
David Elliott [Fri, 18 May 2007 21:19:37 +0000 (21:19 +0000)] 
Include sys/types.h from selectdispatcher.h to ensure that fd_set is declared.

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

17 years agoAdd a wxLog::DoCreateOnDemand and call it from DoCommonPreInit so that
David Elliott [Fri, 18 May 2007 21:17:06 +0000 (21:17 +0000)] 
Add a wxLog::DoCreateOnDemand and call it from DoCommonPreInit so that
logging will work even if wxWidgets is reentered after being cleaned up.

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

17 years ago* Add public wxApp::sm_isEmbedded flag like on wxMac. Default initialization
David Elliott [Fri, 18 May 2007 19:52:14 +0000 (19:52 +0000)] 
* Add public wxApp::sm_isEmbedded flag like on wxMac.  Default initialization
  to true but a plugin can set it to false to cause wxCocoa to not initialize
  things like the application delegate or the menubar manager.
* Fix call to [NSNotificationCenter removeObserver:] to use the correct object.

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

17 years agowe don't need status bar in the MDI children
Vadim Zeitlin [Fri, 18 May 2007 17:29:16 +0000 (17:29 +0000)] 
we don't need status bar in the MDI children

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

17 years agoadded virtual wxFrame::FindItemInMenuBar(): overriding it in wxMDIParentFrame allows...
Vadim Zeitlin [Fri, 18 May 2007 17:03:38 +0000 (17:03 +0000)] 
added virtual wxFrame::FindItemInMenuBar(): overriding it in wxMDIParentFrame allows to look for the items in the active child when giving help for the current menu item

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

17 years agoremoved unused statusbar parameter from wxFrameBase::ShowMenuHelp()
Vadim Zeitlin [Fri, 18 May 2007 16:44:31 +0000 (16:44 +0000)] 
removed unused statusbar parameter from wxFrameBase::ShowMenuHelp()

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

17 years agodon't give debug messages about WM_MDISETMENU failure if there was no error
Vadim Zeitlin [Fri, 18 May 2007 16:33:10 +0000 (16:33 +0000)] 
don't give debug messages about WM_MDISETMENU failure if there was no error

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

17 years agodon't dereference NULL parent in wxMDIChildFrame dtor if it hadn't been really created
Vadim Zeitlin [Fri, 18 May 2007 16:27:25 +0000 (16:27 +0000)] 
don't dereference NULL parent in wxMDIChildFrame dtor if it hadn't been really created

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

17 years agoLaTeX syntax and links corrections
Vadim Zeitlin [Fri, 18 May 2007 16:17:22 +0000 (16:17 +0000)] 
LaTeX syntax and links corrections

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

17 years agofix warning about unused rc variable in release builds
Vadim Zeitlin [Fri, 18 May 2007 16:01:43 +0000 (16:01 +0000)] 
fix warning about unused rc variable in release builds

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

17 years agocall wxAppConsole::CleanUp() from the derived class version
Vadim Zeitlin [Fri, 18 May 2007 15:41:06 +0000 (15:41 +0000)] 
call wxAppConsole::CleanUp() from the derived class version

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

17 years agodelete m_mainLoop on exit
Vadim Zeitlin [Fri, 18 May 2007 15:40:10 +0000 (15:40 +0000)] 
delete m_mainLoop on exit

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

17 years agodo use the font in DoGetTextExtent()
Vadim Zeitlin [Fri, 18 May 2007 15:21:47 +0000 (15:21 +0000)] 
do use the font in DoGetTextExtent()

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

17 years agocompilation fix after wxString changes
Vadim Zeitlin [Fri, 18 May 2007 15:19:35 +0000 (15:19 +0000)] 
compilation fix after wxString changes

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

17 years agooverride DoGetTextExtent instead of redefining GetTextExtent
Vadim Zeitlin [Fri, 18 May 2007 15:02:17 +0000 (15:02 +0000)] 
override DoGetTextExtent instead of redefining GetTextExtent

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

17 years agoundid unnecessary renaming of src/msw/evtloop.cpp to evtloopmsw.cpp
Vadim Zeitlin [Fri, 18 May 2007 14:58:11 +0000 (14:58 +0000)] 
undid unnecessary renaming of src/msw/evtloop.cpp to evtloopmsw.cpp

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

17 years agoAllow negative line spacing
Julian Smart [Fri, 18 May 2007 12:31:55 +0000 (12:31 +0000)] 
Allow negative line spacing

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

17 years agogtk version check should be runtime, not compile time
Paul Cornett [Thu, 17 May 2007 17:02:14 +0000 (17:02 +0000)] 
gtk version check should be runtime, not compile time

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

17 years agoremoved unused iterators ctors
Václav Slavík [Thu, 17 May 2007 15:31:55 +0000 (15:31 +0000)] 
removed unused iterators ctors

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

17 years ago Correct landscape printing in wxPageSetupDialog
Robert Roebling [Thu, 17 May 2007 10:57:14 +0000 (10:57 +0000)] 
  Correct landscape printing in wxPageSetupDialog
    (upport from 2.8)

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

17 years agocompilation fix
Václav Slavík [Thu, 17 May 2007 06:17:29 +0000 (06:17 +0000)] 
compilation fix

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

17 years agoForward port recent changes on the 2.8 branch to HEAD
Robin Dunn [Wed, 16 May 2007 23:39:42 +0000 (23:39 +0000)] 
Forward port recent changes on the 2.8 branch to HEAD

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

17 years agoApply parts of patch #1719888 to fix compilation on Mac and with
Robin Dunn [Wed, 16 May 2007 23:12:40 +0000 (23:12 +0000)] 
Apply parts of patch #1719888 to fix compilation on Mac and with
monolithic builds

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

17 years agofixed CDATA processing to convert the content to output charset, it should be treated...
Václav Slavík [Wed, 16 May 2007 22:35:17 +0000 (22:35 +0000)] 
fixed CDATA processing to convert the content to output charset, it should be treated just like text in this respect

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

17 years agoreturn const wxString& instead of wxString from the accessor methods that allow it
Václav Slavík [Wed, 16 May 2007 20:26:41 +0000 (20:26 +0000)] 
return const wxString& instead of wxString from the accessor methods that allow it

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

17 years agofixes for STL build without implicit wxString->char* conversion
Václav Slavík [Wed, 16 May 2007 18:07:05 +0000 (18:07 +0000)] 
fixes for STL build without implicit wxString->char* conversion

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

17 years agowrap all handlers in single extern "C" section instead of lots of them
Václav Slavík [Wed, 16 May 2007 18:03:23 +0000 (18:03 +0000)] 
wrap all handlers in single extern "C" section instead of lots of them

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

17 years agoMinor cleanup ( _ -> \_ ).
Stefan Neis [Wed, 16 May 2007 15:41:58 +0000 (15:41 +0000)] 
Minor cleanup ( _ -> \_ ).

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

17 years agorestored accidentally commented-out code
Václav Slavík [Wed, 16 May 2007 13:42:23 +0000 (13:42 +0000)] 
restored accidentally commented-out code

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

17 years ago Compilation without threads.
Robert Roebling [Wed, 16 May 2007 13:08:09 +0000 (13:08 +0000)] 
  Compilation without threads.

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

17 years ago OpenVMS changes
Jouk Jansen [Wed, 16 May 2007 10:04:24 +0000 (10:04 +0000)] 
OpenVMS changes

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

17 years ago [ 1718338 ] wxToolBarGTK: Implement tool right-click handling
Robert Roebling [Wed, 16 May 2007 08:51:23 +0000 (08:51 +0000)] 
 [ 1718338 ] wxToolBarGTK: Implement tool right-click handling

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

17 years agoPCH-less compilation fix
Václav Slavík [Wed, 16 May 2007 08:45:01 +0000 (08:45 +0000)] 
PCH-less compilation fix

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

17 years agoanother PCH-less compilation fix
Václav Slavík [Wed, 16 May 2007 07:18:41 +0000 (07:18 +0000)] 
another PCH-less compilation fix

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

17 years agoDo not follow HTML links if selecting text (patch #1719577)
Václav Slavík [Wed, 16 May 2007 07:17:11 +0000 (07:17 +0000)] 
Do not follow HTML links if selecting text (patch #1719577)

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

17 years agoneed to invert offsets for gdk_pixbuf_scale;
Paul Cornett [Wed, 16 May 2007 07:14:53 +0000 (07:14 +0000)] 
need to invert offsets for gdk_pixbuf_scale;
remove unneccessary and incorrect optimization

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

17 years agospeed up Rescale 5- to 15-fold by using pixbuf scaling
Paul Cornett [Wed, 16 May 2007 02:45:01 +0000 (02:45 +0000)] 
speed up Rescale 5- to 15-fold by using pixbuf scaling

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

17 years agocompilation fix for PCH-less build
Václav Slavík [Tue, 15 May 2007 16:23:28 +0000 (16:23 +0000)] 
compilation fix for PCH-less build

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

17 years agoadded missing operators for int and unsigned char
Václav Slavík [Tue, 15 May 2007 15:02:31 +0000 (15:02 +0000)] 
added missing operators for int and unsigned char

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

17 years agomake operators for comparing wxString and wx[W]CharBuffer available in both builds
Václav Slavík [Tue, 15 May 2007 14:54:25 +0000 (14:54 +0000)] 
make operators for comparing wxString and wx[W]CharBuffer available in both builds

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

17 years agoadded operators for comparing wxString to wxCStrData
Václav Slavík [Tue, 15 May 2007 14:50:46 +0000 (14:50 +0000)] 
added operators for comparing wxString to wxCStrData

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

17 years agocompilation fix
Václav Slavík [Tue, 15 May 2007 14:28:47 +0000 (14:28 +0000)] 
compilation fix

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

17 years agoremoved extra semicolons added by last commit
Vadim Zeitlin [Tue, 15 May 2007 14:11:09 +0000 (14:11 +0000)] 
removed extra semicolons added by last commit

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

17 years agofixed non-const wxString iterators to work when a character is changed to another...
Václav Slavík [Tue, 15 May 2007 13:16:01 +0000 (13:16 +0000)] 
fixed non-const wxString iterators to work when a character is changed to another with different UTF-8 sequence length

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

17 years agoadded wxTimer test (now that it works in console applications too)
Vadim Zeitlin [Tue, 15 May 2007 13:15:52 +0000 (13:15 +0000)] 
added wxTimer test (now that it works in console applications too)

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

17 years agoreverted accidental commit
Václav Slavík [Tue, 15 May 2007 13:11:31 +0000 (13:11 +0000)] 
reverted accidental commit

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

17 years agocompilation fixes for --disable-compat28
Václav Slavík [Tue, 15 May 2007 13:01:19 +0000 (13:01 +0000)] 
compilation fixes for --disable-compat28

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

17 years agoremoved unused any more file (replaced by wxSelectDispatcher)
Vadim Zeitlin [Tue, 15 May 2007 13:00:38 +0000 (13:00 +0000)] 
removed unused any more file (replaced by wxSelectDispatcher)

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

17 years agofixed HTML entities parsing broken by wxString changes
Václav Slavík [Tue, 15 May 2007 12:54:36 +0000 (12:54 +0000)] 
fixed HTML entities parsing broken by wxString changes

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

17 years agoadded wxSTRING_TEXT() convenience macro for defining literals in wx's internal string...
Václav Slavík [Tue, 15 May 2007 12:51:34 +0000 (12:51 +0000)] 
added wxSTRING_TEXT() convenience macro for defining literals in wx's internal strings format

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

17 years agomake it posible to change the compiler part of objects directory by setting COMPILER_...
Václav Slavík [Tue, 15 May 2007 12:48:26 +0000 (12:48 +0000)] 
make it posible to change the compiler part of objects directory by setting COMPILER_PREFIX make variable

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

17 years agofall back to DirectFB's builtin font if no fonts are configured
Václav Slavík [Tue, 15 May 2007 12:38:19 +0000 (12:38 +0000)] 
fall back to DirectFB's builtin font if no fonts are configured

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

17 years agolog missing font directories with wxLogDebug, not wxLogTrace, for more visibility
Václav Slavík [Tue, 15 May 2007 12:37:03 +0000 (12:37 +0000)] 
log missing font directories with wxLogDebug, not wxLogTrace, for more visibility

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

17 years agoignore nonexistent font directories silently
Václav Slavík [Tue, 15 May 2007 12:34:23 +0000 (12:34 +0000)] 
ignore nonexistent font directories silently

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

17 years agoadded explanatory comment
Václav Slavík [Tue, 15 May 2007 12:09:44 +0000 (12:09 +0000)] 
added explanatory comment

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

17 years agouse C++ compiler for va_copy test, at least under IRIX the C99 C compiler has it...
Vadim Zeitlin [Tue, 15 May 2007 00:33:14 +0000 (00:33 +0000)] 
use C++ compiler for va_copy test, at least under IRIX the C99 C compiler has it but C++ compiler doesn't have it

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