Vadim Zeitlin
a9b9495bc0
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
2007-05-24 10:59:56 +00:00
Vadim Zeitlin
87b66c2838
s/wxStaticIcon/wxStaticBitmap/g (bug 1724527)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 10:56:31 +00:00
Vadim Zeitlin
bfd67dca3a
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
2007-05-24 09:57:47 +00:00
Vadim Zeitlin
bc5e942bf3
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
2007-05-24 01:47:29 +00:00
Vadim Zeitlin
a3e70e1f3b
declare wxFileSelectorDefaultWildcardStr to fix compilation without PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 01:37:22 +00:00
Vadim Zeitlin
84281b92d5
added wxAppTraits::CreateConfig() (patch 1721149)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:50:54 +00:00
Vadim Zeitlin
d71a2d7863
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
2007-05-24 00:27:40 +00:00
Vadim Zeitlin
d0bc78e2bf
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
2007-05-24 00:14:59 +00:00
Vadim Zeitlin
b4ff336e1d
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
2007-05-23 23:58:09 +00:00
Vadim Zeitlin
86d870753c
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
2007-05-23 23:38:27 +00:00
Václav Slavík
e0b3b9d044
take wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 19:10:36 +00:00
Robert Roebling
befda04080
[ 1712381 ] CRASH: closing floating panel on GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 07:55:39 +00:00
Robert Roebling
b8a922d0d3
[ 1721029 ] [GTK] memory leak in wxMenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 07:48:37 +00:00
Vadim Zeitlin
2ddff00c92
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
2007-05-22 02:30:01 +00:00
Vadim Zeitlin
30c15c1d73
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
2007-05-22 02:02:51 +00:00
Vadim Zeitlin
659863d8a7
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
2007-05-22 02:00:35 +00:00
Vadim Zeitlin
35f94ffd66
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
2007-05-22 01:45:37 +00:00
Vadim Zeitlin
767e083562
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
2007-05-22 01:38:40 +00:00
Vadim Zeitlin
2b232d202a
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
2007-05-22 01:36:24 +00:00
Vadim Zeitlin
b0bf0e50ea
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
2007-05-22 01:34:10 +00:00
Václav Slavík
fbaf7d4513
added another needed wxOnAssert overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 18:24:42 +00:00
Václav Slavík
0accd1cfe8
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
2007-05-21 18:02:57 +00:00
Václav Slavík
a64be16ef8
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
2007-05-21 17:44:37 +00:00
Václav Slavík
fe4a282956
debug messages don't need translation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 14:27:16 +00:00
Vadim Zeitlin
c0bfefb6cf
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
2007-05-21 14:05:46 +00:00
Václav Slavík
4a32fcf155
compilation fix: wxcrt.h, not crt.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 18:44:34 +00:00
Paul Cornett
e36a8aff9a
simplify client size calculation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 02:35:15 +00:00
Paul Cornett
ab7eba4c38
initialize m_sizeSet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 02:32:50 +00:00
Robert Roebling
fc6557a6f5
Implemented dropdown items in wxToolBar for wxGTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 23:21:47 +00:00
Paul Cornett
59678f3fae
move m_sizeSet out of wxWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 18:25:15 +00:00
Paul Cornett
949ff63e2f
simplify DoSetClientSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 17:34:42 +00:00
Vadim Zeitlin
ba705c09b4
rebaked after evtloopmsw.cpp removal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 13:32:12 +00:00
Vadim Zeitlin
54f6914375
document wxLaunchDefaultBrowser() scheme handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 12:51:52 +00:00
Robert Roebling
d545f8030a
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
2007-05-19 12:38:34 +00:00
Vadim Zeitlin
7239c22f2b
restore WX_UNICODE after building ANSI packages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 00:43:18 +00:00
David Elliott
b181f9a580
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
2007-05-18 23:02:55 +00:00
David Elliott
3a4721954c
Add obvious implementation of wxGUIAppTraits::CreateEventLoop.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 21:58:19 +00:00
David Elliott
c393881600
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
2007-05-18 21:19:37 +00:00
David Elliott
e94cd97dd7
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
2007-05-18 21:17:06 +00:00
David Elliott
879180b655
* 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
2007-05-18 19:52:14 +00:00
Vadim Zeitlin
bacbf21352
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
2007-05-18 17:29:16 +00:00
Vadim Zeitlin
10816efb2c
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
2007-05-18 17:03:38 +00:00
Vadim Zeitlin
722ed5bed5
removed unused statusbar parameter from wxFrameBase::ShowMenuHelp()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 16:44:31 +00:00
Vadim Zeitlin
0d7c4404ac
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
2007-05-18 16:33:10 +00:00
Vadim Zeitlin
b38e5da178
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
2007-05-18 16:27:25 +00:00
Vadim Zeitlin
659f4d7615
LaTeX syntax and links corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 16:17:22 +00:00
Vadim Zeitlin
e2985da831
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
2007-05-18 16:01:43 +00:00
Vadim Zeitlin
68d2c3bedc
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
2007-05-18 15:41:06 +00:00
Vadim Zeitlin
82a4f054a9
delete m_mainLoop on exit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:40:10 +00:00
Vadim Zeitlin
666e33ab46
do use the font in DoGetTextExtent()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:21:47 +00:00