Commit Graph

11115 Commits

Author SHA1 Message Date
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