Commit Graph

10967 Commits

Author SHA1 Message Date
Chris Elliott
fbbac9353b add DMC to misbehaving compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 17:03:32 +00:00
Michael Wetherell
53e372c281 Define CPPUNIT_STD_NEED_ALLOCATOR to 0 if it is undefined as we compile with
-Wundef.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 14:56:09 +00:00
Vadim Zeitlin
f5851311d3 fix several mingw32 warnings (patch from Tim Stahlhut)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:36:35 +00:00
Vadim Zeitlin
b152d8c56c PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:32:25 +00:00
Robert Roebling
6608fdab17 Document _ITEM_VALUE_CHANGED and implmement it equally as being sent from valueChanged and ItemChanged. Remove other _MODEL_XXX events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 10:41:46 +00:00
Vadim Zeitlin
8ece1737f4 define WXDLLIMPEXP_FWD_XXX as nothing for mingw32 too to avoid warnings about __declspec being ignored in forward declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 12:14:35 +00:00
Vadim Zeitlin
fb1a478979 use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 11:54:50 +00:00
Jouk Jansen
3a04ad7917 OpenVMS : removing dependency on obsolete Porting-library (Jackets)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 11:46:08 +00:00
Robert Roebling
854cdb0975 Added API for adding/deleting/changing multiple items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 10:54:57 +00:00
Václav Slavík
6e26d6b78c include line number information in wxXmlNode (based on patch #1803492 by Heikki Linnakangas)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 11:09:54 +00:00
Václav Slavík
43de415736 _WX_DECLARE_OBJARRAY was missing reserve() declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 10:52:08 +00:00
Václav Slavík
cd64344431 use reserve() instead of Alloc() in WX_APPEND_ARRAY so that it works with std classes too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 10:44:45 +00:00
Václav Slavík
ad259ba5b2 copy the list in wxList::operator=(), for consistency with typed macro-based lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 15:01:12 +00:00
Vadim Zeitlin
e6a8416274 added disambiguation for Clear() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 12:49:18 +00:00
Vadim Zeitlin
944287e68e don't declare HasSelection() in this class and especially don't declare it as protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 12:47:12 +00:00
Jouk Jansen
b693769692 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 2007-09-27 08:09:44 +00:00
Robert Roebling
c0845ad3a6 Forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 19:33:44 +00:00
Vadim Zeitlin
74f35eea76 part of wxComboBox to wxEntry refactoring (should have been part of rev48952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 16:52:48 +00:00
Vadim Zeitlin
fa2f57be4d refactor wxMSW code to extract parts common to wxTextCtrl and wxComboBox into wxTextEntry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 16:48:46 +00:00
Vadim Zeitlin
d6b9cc87c0 remove wxComboBox-specific hack, override DoSetToolTip() in wxComboBox itself instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 16:23:51 +00:00
Vadim Zeitlin
c282ec4402 compilation fixes for wxGTK1 after wxTextEntry changes (unit test still fails, Replace() generates 2 events instead of 1...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 12:18:00 +00:00
Julian Smart
bff023f172 Added forward declaration for wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 06:41:11 +00:00
Vadim Zeitlin
0ec1179b86 added wxTextEntry common base class for both wxTextCtrl and wxComboBox; refactor wxGTK code to put common parts of these classes in the base class; fixed some inconsistencies in the text control behaviour between platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 00:30:22 +00:00
Vadim Zeitlin
232f89100e fix operator<<() for wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 23:22:41 +00:00
Vadim Zeitlin
01e6aa1e2b define wxUSE_GADGETS as 0 as it's not defined in configure and results in warnings during wxMotif build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 16:56:06 +00:00
Vadim Zeitlin
d41ef7b547 fix warning about visibility attribute ignored on non-class types (which was given for wxGetClipboardData only but change the other functions too for consistency)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 16:53:28 +00:00
Jouk Jansen
934960d133 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 2007-09-25 14:39:47 +00:00
Robert Roebling
eb7637b587 Remove several hack from PS code, use high resolution code from GNOME print, invert Y axis internally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 14:04:09 +00:00
Robert Roebling
d8416992be reorganized wxSVGFileDC code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 09:30:24 +00:00
Vadim Zeitlin
00a77b7c5d added wxWindow::GetPopupMenuSelectionFromUser() (modified patch 1793823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 23:42:31 +00:00
Robert Roebling
ab171e9502 Converted wxGTK's basic DC classes to new DC code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 11:27:41 +00:00
Vadim Zeitlin
fc1f568e23 don't define wxCRT_xxprintfW function if the corresponding xxprintfw() standard functions are not available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 00:20:35 +00:00
Vadim Zeitlin
13f06c1bf0 include wx/log.h to fix PCH-less compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 12:08:23 +00:00
Robert Roebling
65dd9ae23c Removed last bits of DrawScaledBitmap (was removed part of GTK+ printing patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-22 09:55:23 +00:00
Vadim Zeitlin
d0edb9da60 added more convenient wxDL_INIT_FUNC[_AW] macros and use them instead of verbose wxDynamicLibrary::GetSymbol() calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 18:43:51 +00:00
Vadim Zeitlin
1032aee2d4 predefine _WIN32_IE before including shellapi.h too to allow tooltips longer than 64 (up to 128) characters in wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 17:51:11 +00:00
Paul Cornett
9356b709aa allow copying wxFormatString for compiler-generated temporaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 16:04:24 +00:00
Vadim Zeitlin
710b82f34d removed extra semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:57:30 +00:00
Vadim Zeitlin
a9dce8897e put __attribute__((deprecated)) before declaration and not after it as gcc seems to accept both and doing it like this allows to simplify wxDEPRECATED_INLINE() definition by using the same expansion for all compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 13:57:07 +00:00
Vadim Zeitlin
3694bb76c1 added wxDEPRECATED_INLINE, use it for wxPixelData<wxBitmap>::UseAlpha() to fix Sun CC compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:34:32 +00:00
Vadim Zeitlin
f7e81ed1c2 make wxScopeGuardImplBase copy ctor public to avoid Sun CC warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:27:25 +00:00
Vadim Zeitlin
4b4e81ee65 include vms_jackets.h directly from wx/platform.h instead of doing it before wx/wxprec.h as this breaks PCH usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 11:34:19 +00:00
Vadim Zeitlin
d494512913 functions not taking argument must be declared as (void) in C, not ()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 11:25:11 +00:00
Robert Roebling
ca7db61eac more work on wxDC reorganizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 10:59:21 +00:00
Paul Cornett
5c15fb214e wcstod seems to be more widely available than wcstof
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 02:48:56 +00:00
Vadim Zeitlin
043c67059f allow the user to press Esc to close preview frame wherever the focus is, not only if it's on the canvas itself (patch 1719276)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 23:11:22 +00:00
Vadim Zeitlin
0edeeb6d96 use wxWindow::NewControlId() instead of wxNewId() to avoid clashes with user-defined ids; bug fixes in wxMSW for negative menu and toolbar items ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 22:58:55 +00:00
Vadim Zeitlin
03cf4aa61d apply XRCID() automatically to XRCSIZERITEM() argument (patch 1798697)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 16:29:05 +00:00
Vadim Zeitlin
b3adca1e98 remove extra colons and semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 10:23:20 +00:00
Robin Dunn
391e226e8b Give wxPowerEvent wxRTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:14:16 +00:00