Commit Graph

11220 Commits

Author SHA1 Message Date
Julian Smart
677dc0ed1a Border corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 14:44:13 +00:00
Julian Smart
2fce654762 Border corrections, and more compact dialog sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 14:42:31 +00:00
Paul Cornett
d7645b3edb put the useable border styles in one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 02:37:52 +00:00
Vadim Zeitlin
754626543e override GetDefaultBorder() to return wxBORDER_NONE, radio buttons shouldn't have borders by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 17:19:46 +00:00
Vadim Zeitlin
f7dfb0b59f disambiguate between 2 base class IsEmpty() versions too (bug 1831121)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 15:22:40 +00:00
Julian Smart
a790886d7f Added missing return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 15:11:26 +00:00
Julian Smart
e50488546a Getting borders working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 14:27:26 +00:00
Vadim Zeitlin
d154ab3d29 replace changes of r49890 by defining more compatibility operators in wxCmdLineArgsArray as we're interested in preserving as much compatibility with the existing code outside of the library as possible; also DLL-export the class to avoid VC6 DLL build warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 13:27:30 +00:00
Robert Roebling
c8ddadff84 More DC changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 13:20:15 +00:00
Julian Smart
474017f511 wxChar -> char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 13:03:51 +00:00
Julian Smart
6403484578 wxChar -> char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 12:49:38 +00:00
Julian Smart
24e16483d0 wxChar -> char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 12:27:10 +00:00
Julian Smart
28319afe55 Tidying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 12:17:25 +00:00
Julian Smart
dc797d8e1b More border rationalisation. GetDefaultBorder is now mostly defined in base class files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 12:10:34 +00:00
Julian Smart
fba05595e6 wxChar -> char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 11:00:14 +00:00
Vadim Zeitlin
9b894c063b compilation fix for g++ 3.4 (and maybe others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 02:12:09 +00:00
Vadim Zeitlin
a518e5080d use standard functions for BSTR handling instead of doing it ourselves incorrectly (fixed patch 1829152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 01:18:06 +00:00
Vadim Zeitlin
541ea80f0e made wxApp::argv an object convertible to either char** or wchar_t** for better compatibility with the existing ANSI code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 22:32:23 +00:00
Vadim Zeitlin
f36e602b3f make various control names constants of type char, not wxChar, as this is more compatible with the old ANSI build and it doesn't make much sense to use wchar_t for ASCII strings anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 21:37:46 +00:00
Vadim Zeitlin
b1f17bf00f refactor wxGTK mnemonics conversion functions in a separate file to be able to reuse them from wxMenu too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 19:41:38 +00:00
Vadim Zeitlin
5226ac62f1 remove declaration of EscapeMnemonics() which doesn't exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 19:04:15 +00:00
Robert Roebling
3204315276 add const overload for GetImpl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 19:03:03 +00:00
Vadim Zeitlin
8953748b9a update wxUSE_UNICODE and wxUSE_WCHAR_T descriptions, set the former to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 15:15:47 +00:00
Vadim Zeitlin
b1f8bee533 add std::vector-compatible ctors taking array size and array size and initial value for wxUSE_STL==1 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 13:58:48 +00:00
Vadim Zeitlin
e2f3bc4110 some Hildon integration work: use HildonProgram (for integration with the OS), HildonWindow (which has native appearance) and more native-like menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 00:25:09 +00:00
Vadim Zeitlin
60dd3c0916 compilation fix for some build configurations (forward declare wxMenuItem)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 00:23:15 +00:00
Stefan Neis
b1b09544bc Compilation fix (patch #1829901)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-11 22:22:14 +00:00
Vadim Zeitlin
67d3fc4926 added functions for setting the columns order in wxListCtrl (modified patch 1828074)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-10 00:55:14 +00:00
Vadim Zeitlin
5041b46fed added array(size_t count) ctor initializing the array with count items with default value for compatibility with STL version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-10 00:53:47 +00:00
Stefan Csomor
eb83d250fc forward port from 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:36:20 +00:00
Stefan Csomor
ebf2a1eccf forward port from 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:35:17 +00:00
Stefan Csomor
7cfd288464 forward port from 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:30:16 +00:00
Stefan Csomor
82bbd8907b forward port from 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:29:28 +00:00
Stefan Csomor
cc18b1c7af forward port from 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:25:57 +00:00
Vadim Zeitlin
0a7b022960 fixed bugs with moving/centering the file dialog (replaces patch 1825170)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:02:47 +00:00
David Elliott
9a6ffa74e5 Resynch with 2.8 changes (realized I don't need __WX_COMPILING_COCOA_MSGDLG_MM__)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 19:02:06 +00:00
David Elliott
e5633f9a1f Add RCS-ID and normalize whitespace.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 18:58:47 +00:00
David Elliott
c4f2b985d7 Make new wxCocoaMessageDialog suitable for backport to 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 18:26:21 +00:00
David Elliott
e9871aaf86 Applied slightly-modified patch 1826540 from Gareth Simpson.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 18:11:17 +00:00
Robert Roebling
4264606eed Add wxDataViewTextRendererAttr, blind noop under wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-08 22:51:58 +00:00
Paul Cornett
08f53168ac New "pizza" widget implementation. Window border widths now match the GtkStyle they are drawn with.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 18:14:15 +00:00
Mart Raudsepp
c0a1e26885 Include the parent classes header to fix compilation of wxGTK core after these controls don't inherit from generic control anymore (which happened to do the include of button.h before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 00:32:34 +00:00
Vadim Zeitlin
978c6e4113 implemented wxTextEntry for wxMotif, made wxComboBox derive from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 23:13:09 +00:00
Vadim Zeitlin
ff654490b7 removed all compile- and run-time checks for GTK+ < 2.4; don't include the generic files which are now never used in wxGTK in the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:31:24 +00:00
Vadim Zeitlin
899544330f fix a few hundreds of harmless unused parameters warnings and a couple of real bugs discovered thanks to them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:29:16 +00:00
Robert Roebling
25c5c36231 Minimum is now GTK+ 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 18:46:43 +00:00
Robert Roebling
700d08c109 [ 1823588 ] gtk filedlg - droping support for gtk 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 18:43:14 +00:00
Vadim Zeitlin
b4782e576d forward declare wxArrayString (compilation fix for non-PCH build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 13:27:58 +00:00
Vadim Zeitlin
0847dca672 implement AutoComplete for wxMSW too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 00:44:26 +00:00
Paul Cornett
0c3d1aa7fd build fix: return type for AutoComplete is bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 23:27:59 +00:00
Vadim Zeitlin
59396417d3 added wxTextEntry::AutoCompleteFileNames() and implemented it for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 23:08:26 +00:00
Vadim Zeitlin
ecaed0bcda added wxTextEntry::AutoComplete() and implemented it for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 22:39:54 +00:00
Paul Cornett
08809d1886 build fixes for universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 19:39:12 +00:00
Vadim Zeitlin
ff805cac74 use gtk_entry_set_activates_default() instead of redoing its work manually ourselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 16:34:36 +00:00
Vadim Zeitlin
c114200348 added wxWindow::AlwaysShowScrollbars() and its wxMac implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 22:14:29 +00:00
Vadim Zeitlin
3a5b9ee8b8 make wxScrollBar derive from wxScrollBarBase under wxMac too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 22:12:26 +00:00
Vadim Zeitlin
86f19f7ce5 handle failure of gtk_drag_begin() (which can happen e.g. because gdk_pointer_grab() failed) in DoDragDrop() (patch 1825237) + minor cleanup in trunk version of the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 21:46:55 +00:00
Vadim Zeitlin
3b49331b74 fix warnings in EventsSuppressor ctor from gcc with -O option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 13:27:38 +00:00
Paul Cornett
92646f5a74 build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 05:04:26 +00:00
Vadim Zeitlin
4660b55651 fixes for DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 00:05:09 +00:00
Vadim Zeitlin
472eec8a03 use wxTextEntry in wxTextValidator (modified patch 1821743)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:52:40 +00:00
Vadim Zeitlin
c1f80bc0a6 made LogLastRepetitionCountIfNeeded() non static to avoid recreating the log target from ~wxLog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:22:06 +00:00
Vadim Zeitlin
6aaee6afdc added wxMessageQueue class for inter-thread communications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 01:35:20 +00:00
Vadim Zeitlin
d1f7240a09 also assert in generic GetSelection() if the control is in multiselection mode, for consistency with wxMSW and other controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 00:09:13 +00:00
Vadim Zeitlin
8866abbb17 add wxMouseEvent::GetClickCount() and implement it for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 22:31:18 +00:00
David Elliott
8e33de15b5 Add WXUNUSED to unused parameters in several inline-implemented methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 16:18:59 +00:00
Chris Elliott
91a151d3a3 DMC work round
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 13:33:12 +00:00
Stefan Neis
1044b90c1b Applied patch #1821711 (workaround for Watcom inconsistency wrt Posix functions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-28 18:52:46 +00:00
Paul Cornett
f53c863825 build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 22:24:35 +00:00
Paul Cornett
34b1fdebbf don't include platform headers from public wx header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 19:45:20 +00:00
Paul Cornett
4e7b25f056 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 18:05:28 +00:00
Julian Smart
013151c744 Implementation of wxSysColourChangedEvent on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:38:39 +00:00
Julian Smart
52170c5b44 Fixed context menu in wxRichTextCtrl
Added colour change event handler to wxRichTextCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 16:59:24 +00:00
Chris Elliott
558820fd08 another DMC build fix (http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 12:27:54 +00:00
Robin Dunn
5f22a3a953 Move the %disownarg directive to the .i file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 19:06:46 +00:00
Paul Cornett
04848a06ca revert calling static directly, its not always static
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 17:31:18 +00:00
Paul Cornett
3c75d8baf9 make access for virtuals match base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 06:20:23 +00:00
Paul Cornett
326a863afc use class keyword to match forward decl, call static members directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 06:19:27 +00:00
Paul Cornett
65a4323236 allow including wx/crt.h first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 06:19:08 +00:00
Paul Cornett
c3c62822fd build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 16:13:06 +00:00
Chris Elliott
63ef7db3e9 allow Borland 5.5 again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 11:08:10 +00:00
Chris Elliott
d537baffe9 remove extra ';'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 11:04:43 +00:00
Vadim Zeitlin
0250efd6f4 use LogLastRepetitionCountIfNeeded() instead of DoLogNumberOfRepeats() in logg.cpp too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 22:19:28 +00:00
David Elliott
5ed63bf59f Don't check for wxMac before overriding WORDS_BIGENDIAN based on compiler
endianness definitions.  This allows any toolkit to be compiled universally
on OS X, not just wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 21:43:36 +00:00
David Elliott
80da12bc09 Remove defined(__WXMAC__) && defined(__APPLE__) case from the OS if/elif block.
It would never have been used in a configure build since setup.h which defines
__UNIX__ is included from platform.h before the if/elif block.  Likewise, it
would not have been used for wxMac Xcode builds since they use config_xcode.h
which also defines __UNIX__.  That's fortunate since __POWERPC__ was defined
unconditionally in that case.  Note that classic builds wouldn't have used
the case either since they have their own case just before it (which remains).

Add __MACH__ to the list of UNIX defines (e.g. like __hpux) so that the UNIX
case of the OS if/elif block is guaranteed to match for all Mach systems.  In
addition to that, within that case check for __APPLE__ && __MACH__ and make
sure that __BSD__ and __DARWIN__ are defined, TARGET_CARBON is defined,
and wxSIZE_T_IS_ULONG is defined.

Add __ppc__ to the list of defines that will cause __POWERPC__ to be defined
although it's interesting to note that we don't seem to use it anywhere.

Make sure that each case of the OS if/elif block has a /* OS ... */ comment
to make the code a bit easier to follow.

Remove comment about __DARWIN__ being used to work around defects in GCC,
that was removed years ago.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 21:03:53 +00:00
Paul Cornett
cca410b336 Use a GtkVBox to do TLW layout. Rework some of the remaining sizing code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 18:07:24 +00:00
Vadim Zeitlin
a2d3826500 add a critical section protecting ms_prev variables (replaces patch 1819224)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 17:59:53 +00:00
Vadim Zeitlin
2064113c9d slightly simplified wxLog repetition counting code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 17:55:29 +00:00
Julian Smart
ce04fea594 Small usability improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 14:21:08 +00:00
Vadim Zeitlin
e4161a2a08 use -Wunused-parameter with gcc for consistency with MSVC and other compilers which warn about this; fix the uncovered warnings in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 22:19:34 +00:00
Vadim Zeitlin
e461247b05 do use vswprintf() with mingw32 if STLPort >= 5.1 is used (and not msvcrt which defines vswprintf() in a pre-standard way)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:20:44 +00:00
Vadim Zeitlin
3824e0db33 don't compare initial slider position with uninitialized m_pos (modified patch 1818759)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:16:06 +00:00
Vadim Zeitlin
1e6b2edfc8 remove ODBC and DBgrid libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:40:27 +00:00
Vadim Zeitlin
4488a1d332 added wxBG_STYLE_TRANSPARENT and implemented it for wxMac; documented various transparency-related functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 21:15:04 +00:00
Vadim Zeitlin
9e06a15fc2 add HDF_SORTUP/DOWN definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 17:30:36 +00:00
Robert Roebling
f69c03def9 Use a private GtkCellRendererText for rendering text in a wxDataViewCustomRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 11:26:04 +00:00
Robert Roebling
45b81639ef remove deprecated and constructor and SetModal() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 09:03:58 +00:00
Robert Roebling
196a75d48d remove deprecated and constructor and SetModal() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 08:59:26 +00:00
Chris Elliott
05a09b0b9f update to 2.9.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 08:22:33 +00:00
Paul Cornett
065ae02d48 add wxUSE_MINIFRAME wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:07:29 +00:00
Paul Cornett
84e5ae3d3c fix header wrapper typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 17:59:02 +00:00
Vadim Zeitlin
b5ec7dd6ee fix unused parameter warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 23:23:44 +00:00
Vadim Zeitlin
50c549b98d many wxIPC Unicode and UTF-8 fixes (use void* instead of wxChar* in the API and UTF-8 as wire format for wxStrings) (patch 1812926)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 22:54:26 +00:00
Vadim Zeitlin
30386aeb86 define wxUTF8Buf as the type returned by wxString::utf8_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 22:52:36 +00:00
Vadim Zeitlin
576adedbc0 undefine _DEFINE_LIST before redefining it; also rename it to have WX prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 22:02:08 +00:00
Vadim Zeitlin
fe1efe6ab7 deprecate wxEffects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 21:58:47 +00:00
Robert Roebling
52e750fc75 Added wxDataViewCustomRenderer::RenderText() for renderer simple text in platform dependent way, added wxDataViewSpinRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 20:09:10 +00:00
Vadim Zeitlin
c4b64a941e add support for detached threads in wxThreadHelper (patch 1809015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:49:10 +00:00
Vadim Zeitlin
060668a1f6 export wxInvalidSize from DLL builds (patch 1805738)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:34:43 +00:00
Julian Smart
c8058a09e5 Added wxVariantData::Clone and wxVariant::Unshare
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 15:01:54 +00:00
Robert Roebling
b0d7707bc4 Use wxPointList instead of wxList in wxDC code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 14:53:55 +00:00
Robert Roebling
736fe67c66 Added PrependColumn methods and short cuts. Added test for DeleteColumn to sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 20:56:38 +00:00
Paul Cornett
383144c756 simplify toolbar and statusbar create/set code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 17:20:38 +00:00
David Elliott
500659a897 Added fontfactory.h that should have been part of 49213.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 08:01:37 +00:00
David Elliott
51146826fc Halfway reasonable implementation of wxFont for wxCocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 07:54:43 +00:00
Vadim Zeitlin
e256b53a3d remove wxWindow::Clear() from wxDFB and wxMGL which was unused (probably replaced by ClearBackground()) and conflicted with methods with the same name in other classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 18:22:15 +00:00
Robert Roebling
001f0f8273 Correct focus rect to not appear in unfocussed controls (currently doesn't appear at all under XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:43:19 +00:00
Robert Roebling
49fc3b9c03 Correct EnsureVisible() to show last item entirely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:21:04 +00:00
Robert Roebling
e2da67f6d7 More alignment issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:17:32 +00:00
Robert Roebling
69357fa0cb Change default alignment to centre vertically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:50:22 +00:00
Paul Cornett
c266eff98c remove C++ comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 02:59:13 +00:00
Robert Roebling
e94d0c1e66 Add wxDataViewTreeStore with sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 11:41:46 +00:00
Robert Roebling
c33edc08d6 Beginning of wxDataViewTreeStore API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 22:01:24 +00:00
Robert Roebling
7e59e3d050 Made wxList no longer inherit from wxObject, no change in STL mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 22:00:10 +00:00
Robert Roebling
9a0a58f5af Use typesafe wxVariantList in wxVariant instead of wxList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 12:11:51 +00:00
Robert Roebling
7e6b478087 define typesafe wxVariantList (to be used by wxVariant instead of wxList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 11:57:48 +00:00
Robert Roebling
3586d10f72 wxVariantData no longer inherits from wxObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 11:45:34 +00:00
David Elliott
99d21c0e1f Move wxCocoa's wxFontRefData from the header to the implementation file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 07:18:04 +00:00
Robert Roebling
1e40f6676a added wxDataViewModel::HasContainerColumns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 18:31:12 +00:00
Julian Smart
fe8b03618a Make SaveFile and LoadFile virtual so they can be overridden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-11 19:56:38 +00:00
Václav Slavík
d350fbec22 compilation fixed for wxDataViewCtrl: almost no class was properly exported in wxGTK version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 19:44:26 +00:00
Chris Elliott
b1ab476240 update setup.h for univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 17:01:34 +00:00
Vadim Zeitlin
2978a784f5 compilation fix for wxUniv: don't use the native wxTextEntry class in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 15:45:28 +00:00
Benjamin Williams
c89e16e423 added DockFixed() pane option; doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:27:03 +00:00
Václav Slavík
6a6ea041d9 compilation fix for Mingw: it doesn't have std::wostream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 09:48:00 +00:00
Robin Dunn
b9cd2cb909 Give wxMac's wxStaticBox an AcceptsFocus method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 16:04:16 +00:00
Julian Smart
44cc96a80c Merged wxRichTextAttr and wxTextAttrEx into wxTextAttr, and added a font table
to wxRichTextBuffer to reduce wxFont consumption and increase performance.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 11:20:36 +00:00
Vadim Zeitlin
6b61b594cf define insertion operator in std::wostream in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:09:01 +00:00
Vadim Zeitlin
7a906e1a21 fixed operator<<(ostream&, wxString) to output string contents and not wchar_t pointer value in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:01:59 +00:00
Vadim Zeitlin
6919e3bb38 don't define operator<<(ostream&, wxString) at all if it's already defined in the library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:01:20 +00:00
Vadim Zeitlin
dad49cc7f9 compilation fix for wxUSE_STL==1 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 23:50:32 +00:00
Vadim Zeitlin
e3408b704d added wxBase64Decode() overload taking wxString, otherwise it's inconvenient to use in wxUSE_STL==1 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 23:41:50 +00:00
Vadim Zeitlin
0f1b6d7b58 removed extra const in DoGetFilenames() declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 13:00:45 +00:00
Chris Elliott
6b73ac78de set minimum bcc32 version to turbo explorer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 08:00:59 +00:00
Robert Roebling
a5fb925380 Update from Hartwig for OS X implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 19:15:30 +00:00
Václav Slavík
b85e0ae0a1 globally disable VC++'s warning 4251 (non-exported member in dll-exported class and remove broken workaround trying to silence it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 17:15:37 +00:00
Vadim Zeitlin
24904055f3 made Blur() methods const (bug 180914)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 17:02:12 +00:00
Vadim Zeitlin
e9717bd5d8 fixed several problems due to use of GetEditHWND() when the edit control is not available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 11:19:09 +00:00
Vadim Zeitlin
14d6351382 always return wxString from wxGetUserHome() instead of char */wxWCharBuffer depending on the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 12:38:15 +00:00
Vadim Zeitlin
398eebb155 fix wxGenericFileDialog::Get{Path,Directory,Filename}() functions which were completely broken by wxFileCtrl patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 23:54:40 +00:00