Vadim Zeitlin
5bcc2e5483
use WXDLLIMPEXP_FWD_XXX instead of WXDLLEXPORT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 15:13:27 +00:00
Václav Slavík
d5cbee178f
added checks for more wxUSE_SVG dependencies: wxUSE_IMAGE and wxUSE_LIBPNG
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 13:41:57 +00:00
Paul Cornett
b2e10daccc
make DoSetSizeHints protected, remove parameter defaults
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 06:12:56 +00:00
Paul Cornett
3f4049ffb2
use a GtkAlignment to position m_mainWidget, avoiding need to re-size_allocate it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 05:15:13 +00:00
Paul Cornett
915bd4e484
build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 16:55:36 +00:00
Vadim Zeitlin
c944775f72
added wxWindow::GetPrev/NextSibling()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 15:57:51 +00:00
Stefan Csomor
e4346967a2
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 14:10:09 +00:00
Stefan Csomor
dae17a47b9
common xcode support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 09:25:39 +00:00
Stefan Csomor
09b632b21a
cleanup mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 07:20:58 +00:00
Stefan Csomor
92f89387a8
cleanup mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 07:19:33 +00:00
David Elliott
305142ad5f
Don't define __WXOSX__ when building the wxCocoa base library.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 19:54:36 +00:00
David Elliott
afc605b2be
Document the cfstring.h/cfstring.cpp as being used by all Darwin ports (it's
...
now part of the common base library).
Use the CFLocale-based code on all Darwin systems instead of testing
__WXOSX__ in base-library code which is NEVER appropriate.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 19:23:29 +00:00
David Elliott
b3b0629c92
Remove wxDialogNameStr definition which should have been removed in r49873.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 19:06:21 +00:00
Robert Roebling
2056dede02
Implement wxGTK internal short-cut for wxDataViewIndexListModel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 23:54:57 +00:00
Vadim Zeitlin
1b12ec1259
always return true from IsMaximized() under Hildon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 23:32:30 +00:00
Vadim Zeitlin
7422d7c442
don't show size grip if the window the status bar is attached to is maximized or not resizeable at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 23:31:48 +00:00
Stefan Neis
72cb72bf82
Use new wxTextEntry implementation on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 22:55:54 +00:00
Stefan Neis
9a3a5e5eea
Added wxTextEntry implementation for OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 21:48:11 +00:00
Vadim Zeitlin
8575ff507f
experimental IPv6 implementation (patch 1771429)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 20:53:33 +00:00
Vadim Zeitlin
5cd0202bdc
wxColourData::operator=() should return wxColourData&, not void
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 20:25:02 +00:00
Vadim Zeitlin
8cf304f81b
added public wxInfoMessageBox() (slightly modified patch 1828235)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 19:56:03 +00:00
Vadim Zeitlin
e6ef9ea4ed
preserve custom colours between calls to wxGetColourFromUser(), also allow passing a custom wxColourData to it (modified patch 1832582)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 19:33:34 +00:00
Vadim Zeitlin
0d6fba3793
removed not implemented anyhow SetIcons()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 17:45:27 +00:00
Stefan Neis
ddfed775ab
Compilation fix for Watcom (on OS/2).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 13:40:43 +00:00
Robert Roebling
eb1c3db2dd
Remove useless GetRowCount
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 10:22:58 +00:00
Stefan Neis
65f768cf63
Changed control name constants from wxChar to char according to revision 49873
...
(applying patch #1833732 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 22:33:50 +00:00
Robert Roebling
594d5596ee
Update to wxDataViewCtrl from Hartwig
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 21:20:27 +00:00
Vadim Zeitlin
660e7fda2c
fix several problems in handling of the menu items with negative ids
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 20:38:07 +00:00
Vadim Zeitlin
8c029a5b02
added SetInitialSocketBuffers() to allow changing the send/receive buffer sizes (patch 1829576)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 15:21:26 +00:00
Vadim Zeitlin
905e090500
forward SetFocus() to the directory tree (replaces patch 1831210)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 15:12:13 +00:00
Vadim Zeitlin
2b147f2e19
allow to optionally use vendor name component in standard paths (slightly modified patch 1831308)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 14:59:13 +00:00
Vadim Zeitlin
180b5b4827
added vendor display name (for consistency with app display name &c) (patch 1831303)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 14:45:53 +00:00
Vadim Zeitlin
82c6387837
fix wxColourDialog::Centre() and SetSize() (modified patch 1831628)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 14:43:38 +00:00
Vadim Zeitlin
9a2534df04
PCH-less compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 14:04:44 +00:00
Vadim Zeitlin
6719c06a97
no real changes, just some cleanup: add wxIsAltDown() in addition to the existing wxIsShift/CtrlDown() and wxIsAnyModifiedDown() to test for all of them at once (slightly modified patch 1833235)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 00:24:07 +00:00
Vadim Zeitlin
d04a9fdfe2
add wxModule::AddDependency(name) overload (patch 1790451)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 00:12:01 +00:00
Vadim Zeitlin
e13ce4a3d0
move Add/DeleteAttribute() implementations out of line to avoid deprecation warnings when including xml.h from user code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 23:34:21 +00:00
Vadim Zeitlin
f35fdf7e4a
added logic to manage automatically allocated ids in-use status to avoid clashes for long-running programs (modified patch 1800016, incidentally fixes bug 1832620)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 23:25:18 +00:00
Stefan Csomor
400e8540ad
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 20:58:12 +00:00
Stefan Csomor
50f8c98e06
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 20:57:39 +00:00
Stefan Csomor
a9479081df
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 20:55:57 +00:00
Stefan Csomor
fdcc78196e
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 20:53:38 +00:00
Stefan Csomor
623633eea9
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 20:52:54 +00:00
Stefan Csomor
2301cda008
correcting import/export (_adv gave linking errors)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 12:25:18 +00:00
Stefan Csomor
11bdfd1c7d
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 20:28:06 +00:00
Robert Roebling
0e9cfa5109
remove warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 20:11:30 +00:00
Robert Roebling
517166e678
optimise startup of wxDataViewIndexListModel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 15:03:48 +00:00
Julian Smart
e18389820f
Corrected symbol for OS/2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 08:04:25 +00:00
Julian Smart
d949570b66
Added missing include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 07:09:25 +00:00
Robert Roebling
38dd8ed404
wxDC rework, forgot these
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 21:05:43 +00:00
Julian Smart
6aff27c9f1
Conflict correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 14:51:00 +00:00
Robert Roebling
4f37154e98
Further wxDC changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 14:49:40 +00:00
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