Commit Graph

40039 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
802e382ff1 compilation fix after wxString changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:19:35 +00:00
Vadim Zeitlin
d1ae263893 override DoGetTextExtent instead of redefining GetTextExtent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:02:17 +00:00
Vadim Zeitlin
81df6af392 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
2007-05-18 14:58:11 +00:00
Julian Smart
cc91438c0f Allow negative line spacing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 12:31:55 +00:00
Paul Cornett
93de378435 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
2007-05-17 17:02:14 +00:00
Václav Slavík
442cd17f74 removed unused iterators ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 15:31:55 +00:00
Robert Roebling
fa4f4c58ea 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
2007-05-17 10:57:14 +00:00
Václav Slavík
58227f65ca compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 06:17:29 +00:00
Robin Dunn
0b0849b5a5 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
2007-05-16 23:39:42 +00:00
Robin Dunn
f6342fb5e6 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
2007-05-16 23:12:40 +00:00
Václav Slavík
d6cb12871f 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
2007-05-16 22:35:17 +00:00
Václav Slavík
12058e0cb5 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
2007-05-16 20:26:41 +00:00
Václav Slavík
352d9b8957 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
2007-05-16 18:07:05 +00:00
Václav Slavík
26296ac997 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
2007-05-16 18:03:23 +00:00
Stefan Neis
d6adfdf934 Minor cleanup ( _ -> \_ ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 15:41:58 +00:00
Václav Slavík
2c6725e622 restored accidentally commented-out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 13:42:23 +00:00
Robert Roebling
134b124794 Compilation without threads.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 13:08:09 +00:00
Jouk Jansen
0f0223d38a OpenVMS changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 10:04:24 +00:00
Robert Roebling
729b47568a [ 1718338 ] wxToolBarGTK: Implement tool right-click handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 08:51:23 +00:00
Václav Slavík
b5ef33b2ae PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 08:45:01 +00:00
Václav Slavík
98d2df7443 another PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 07:18:41 +00:00
Václav Slavík
907f2fabf7 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
2007-05-16 07:17:11 +00:00
Paul Cornett
35d2f1b82e 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
2007-05-16 07:14:53 +00:00
Paul Cornett
533b005afd 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
2007-05-16 02:45:01 +00:00
Václav Slavík
155c2f6c82 compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 16:23:28 +00:00
Václav Slavík
db18be5792 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
2007-05-15 15:02:31 +00:00
Václav Slavík
be39d6f592 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
2007-05-15 14:54:25 +00:00
Václav Slavík
5d0fac27c4 added operators for comparing wxString to wxCStrData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:50:46 +00:00
Václav Slavík
98cf46c8d2 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:28:47 +00:00
Vadim Zeitlin
8ac09e5213 removed extra semicolons added by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:11:09 +00:00
Václav Slavík
b0c4d5d792 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
2007-05-15 13:16:01 +00:00
Vadim Zeitlin
549b95b3de 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
2007-05-15 13:15:52 +00:00
Václav Slavík
c67b782d27 reverted accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:11:31 +00:00
Václav Slavík
6f207e6699 compilation fixes for --disable-compat28
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:01:19 +00:00
Vadim Zeitlin
f35c88fcca 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
2007-05-15 13:00:38 +00:00
Václav Slavík
19817fd33e 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
2007-05-15 12:54:36 +00:00
Václav Slavík
c7dc005723 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
2007-05-15 12:51:34 +00:00
Václav Slavík
dad909f709 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
2007-05-15 12:48:26 +00:00