Commit Graph

41870 Commits

Author SHA1 Message Date
Vadim Zeitlin
b99891b0c8 suppress virtual function hiding warnings due to the existence of several DoLog() and DoLogString() overloads of which only one is overridden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:09:03 +00:00
Vadim Zeitlin
43a7c679ac regenerated after today's changes, it should now handle Sun CC under Linux correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:08:09 +00:00
Vadim Zeitlin
8802d332af remove -mt and/or -pthread when mixing Sun CC and gcc once at the end instead of doing it several times in the middle as these options can appear in pkg-config output for just about anything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:06:12 +00:00
Vadim Zeitlin
ab595566b1 use -R instead of -Wl,-rpath with Sun CC under Linux too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 17:23:54 +00:00
Vadim Zeitlin
e3b13be45a fixed defining FOOCXX symbols (was broken because AC_LANG_POP was done too soon and so variable name for C and not C++ was wrongly used); changed mwcc and xlc detection to use the common macro instead of duplicating it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 17:17:30 +00:00
Vadim Zeitlin
9435c35e40 added support for using Sun CC to link shared libraries under Linux too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 17:15:33 +00:00
Vadim Zeitlin
999020e1bb fix Sun CC warnings about converting literal strings to non-const char *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 17:09:18 +00:00
Vadim Zeitlin
7d10ec93c4 suppress Sun CC warnings about casting between C++ and extern C function pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 15:11:27 +00:00
Vadim Zeitlin
3bc8edd575 fix Sun CC warning about name clash between the method parameters and member variables argc/argv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:52:37 +00:00
Vadim Zeitlin
80f8355d66 better Sun CC fix: put the function in anonymous namespace instead of making it global
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:48:28 +00:00
Vadim Zeitlin
2dab040a1d Sun CC doesn't allow calling static function from template instantiations so rename ConvertStringToBuf() to wxInternalConvertStringToBuf() and make it extern
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:46:37 +00:00
Vadim Zeitlin
15e5ef78ae test for Sun CC under Linux too, and not only Solaris (mirrors the change in bakefile)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:25:10 +00:00
Vadim Zeitlin
b69ae27a05 don't redefine __WCHAR_TYPE__ when using Sun CC if it's already defined (as is the case at least under Linux)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 14:22:05 +00:00
Vadim Zeitlin
be3dcfb31a Sun CC (at least version 5.9) has wint_t as a separate type too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 13:59:48 +00:00
Vadim Zeitlin
2686d9339b fix __SUNCC__ definition; added wxCHECK_SUNCC_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 13:58:05 +00:00
Václav Slavík
f6e3890101 PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 13:55:42 +00:00
Václav Slavík
35fc0be75c added documentantion for wxMemoryFSHandler::AddFileWithMimeType()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:56:19 +00:00
Václav Slavík
4fc1c0f091 made wxUSE_UNICODE=1 the default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:34:38 +00:00
Robert Roebling
4a3f5ad0f5 Forgot this part of the event change patch from 2_8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:34:03 +00:00
Václav Slavík
a342cb00c5 wxUSE_STL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:30:51 +00:00
Václav Slavík
57c42b6227 normalize printf/scanf format strings correctly on all platforms, while accounting for wxArgNormalizer<T> conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:28:59 +00:00
Robert Roebling
e0cfa71527 Upport: Always use GdkPixbuf in wxBitmapButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:26:48 +00:00
Václav Slavík
d3e9a6f3bf have only one string form of operator<< in output streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 11:12:21 +00:00
Václav Slavík
50e2789913 normalize printf/scanf format strings correctly on all platforms, while accounting for wxArgNormalizer<T> conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 11:10:36 +00:00
Robert Roebling
929bd94ee1 Upported event filter patch for wxTextCtrl::SetValue()
(work around doesn't work anymore with recent versions
     of GTK+).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 10:53:42 +00:00
Robert Roebling
696a18c7e7 Correct gridlines drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 10:11:47 +00:00
Robert Roebling
75aa53c927 Call clipping region methods from base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 09:18:30 +00:00
Paul Cornett
dd2422b320 gtk_widget_destroy does not unref the widget unless it's a TLW or in a
container, so use gtk_object_sink to delete temporary, parentless widgets.
Fixes memory leak bug #1741184.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 06:53:30 +00:00
Vadim Zeitlin
0d5c7b2dca document CreateConfig() (extended patch 1739374)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 02:01:40 +00:00
Vadim Zeitlin
76de6a6e20 don't use DLL export declaration with inline functions, it is ignored and just results in a warning from mingw32 3.4.5 cross-compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 22:29:07 +00:00
Vadim Zeitlin
76bfdc9ad9 changed AddPendingEvent() to take const wxEvent reference, it doesn't need to modify it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:56:50 +00:00
Vadim Zeitlin
414721d003 fix STL build (don't rely on implicit wxString to char* conversions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:45:46 +00:00
Vadim Zeitlin
7b673beff4 fixed compilation in Unicode build (it was silently disabled before...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:34:53 +00:00
Vadim Zeitlin
b05fde97c5 fix compilation in ANSI STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 21:29:39 +00:00
Robert Roebling
2fe90784ae Added minor clarification to the wxListBox events used
by wxVListBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 19:49:26 +00:00
Vadim Zeitlin
c7c441ccee blind fix for wxUSE_WXDIB==0 compilation (replaces patch 1739858)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 18:14:29 +00:00
Paul Cornett
420455b510 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 16:33:48 +00:00
Vadim Zeitlin
6164301821 pass double as sqrt() argument as at least Sun compiler has troubles with sqrt(2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:21:03 +00:00
Julian Smart
700614e05e Copied fonts in art Clone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:16:10 +00:00
Julian Smart
fc17828ab2 Added font setting and ability to determine AUI notebook height for a given page height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:07:51 +00:00
Julian Smart
47fe7ff382 Added DetachOldLog to avoid destruction of old log target
Renamed wxLogPassThrough to wxLogInterposer
Added wxLogInterposerTemp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 12:44:38 +00:00
Vadim Zeitlin
dc99a350df document that wx[HV]SCROLL don't work with native controls not TLWs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:50:34 +00:00
Vadim Zeitlin
b9e7f0115d check that we do have scrollbars before using them to avoid crashes when SetScrollXXX() methods are called for windows which are not scrollable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:44:05 +00:00
Vadim Zeitlin
68ce1d3499 fix to the previous commit: percent signs have to be escaped first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:16:57 +00:00
Paul Cornett
18ac7bef9e fix reversed left/top variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 03:43:01 +00:00
Vadim Zeitlin
d81f6eac73 fix handling of '#' in file names (patch 1740328)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 00:05:01 +00:00
Vadim Zeitlin
d6a41cc7d5 single line wxTextCtrl fg colour fix is now in 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 21:29:07 +00:00
Paul Cornett
4b01ba739a fix reparenting a control into wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 17:49:13 +00:00
Julian Smart
9b7835a516 Added extra width for controls to avoid edge being clipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 15:36:26 +00:00
Julian Smart
079b2f6ba2 Fixed uninstalled toolbars in native toolbar mode, with a method for
specifying non-native if required
Added code to toolbar sample for testing uninstalled toolbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 14:02:06 +00:00