Václav Slavík
4bff335abe
added Get(Class)DefaultAttributes implementation for all controls using DataBrowser native control; fixed wxListBox's to return correct font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 10:50:16 +00:00
Vadim Zeitlin
a85ad1db05
use generic dialogs under Palm (generic.diff part of patch 1894861)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:20:08 +00:00
Vadim Zeitlin
f0d3a2cc93
define wxConfig where the header implementing it is defined; also define it for wxPalm and wxOS2 (confmove.diff part of patch 1894861)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:14:16 +00:00
Vadim Zeitlin
abd0503cf7
predefine wxUSE_LIBMSPACK as 0 for Palm (chkconf.diff part of patch 1894861)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:08:52 +00:00
Vadim Zeitlin
027fe16c35
add platform info for Palm (add-wxpalm-info.diff part of patch 1894861)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:02:07 +00:00
Vadim Zeitlin
624697a448
declare file-related APIs missing under Palm (pflib-missing.diff part of patch 1894861)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:55:46 +00:00
Vadim Zeitlin
6afc1b4665
compilation fixes for PalmOS and implementations of missing standard functions (pflib.diff part of patch 1894861)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:53:32 +00:00
Vadim Zeitlin
9b4da62701
PalmOS compilation fixes (wx-trunk-out.diff part of patch 1894861)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:43:06 +00:00
Robert Roebling
d613be55db
Implemented wxURLDataObject for wxGTK using text/x-moz-url
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-01 17:22:31 +00:00
Vadim Zeitlin
0016bb3b1c
no real changes, just refactor/simplify the code to remove duplication and unnecessary casts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-01 12:23:04 +00:00
Paul Cornett
593354ca47
revert updating GTK size hints when window decorations change, it messes up min size set by a sizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 06:34:43 +00:00
Vadim Zeitlin
82d1a19568
correct WinCE compilation after last change: can't use global scope with GlobalLock/Unlock() there
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 02:52:26 +00:00
Vadim Zeitlin
dca0f65178
more /Wp64 warning fixes: mostly use UINT_PTR instead of UINT and define our WX[WL]PARAM with __w64 if available to avoid hundreds of warnings when casting LPARAMs to pointers/handles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 02:22:52 +00:00
Vadim Zeitlin
2d2b68baa3
use GlobalPtrLock (modified to allow not initializing it if the ptr is NULL) in wxGetPrinterDC() to avoid /Wp64 warnings and also make code safer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 00:41:38 +00:00
Vadim Zeitlin
18caa1e963
compilation fix after last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 00:22:02 +00:00
Vadim Zeitlin
7005cf4407
fix wxWeakRef<> for Borland C++ (slightly modified patch 1902415)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:12:29 +00:00
Vadim Zeitlin
c50c6fb23b
add SetNativeTheme() (slightly modified patch 1884553)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:46:14 +00:00
Vadim Zeitlin
34dc0674f1
fixes for __WINCE_NET__ build (slightly modified patch 1892654)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:35:13 +00:00
Vadim Zeitlin
81bed90ee4
only define wxAuiFloatingFrameBaseClass as wxMiniFrame if wxUSE_MINIFRAME==1 (and do it under all platforms, why not?) (replaces part of patch 1892654)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:29:54 +00:00
Vadim Zeitlin
1edce33f7e
override SetDropTarget() in wxGrid to associate it with wxGridWindow as this is what things tend to be dropped on (patch 1903103)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:19:42 +00:00
Julian Smart
c2a4fabb14
Made wxRichTextCtrl cursors accessible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 08:54:55 +00:00
Vadim Zeitlin
2a8c8b35f8
no changes, just a couple of typo fixes in comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 02:01:02 +00:00
Julian Smart
6c0ea5130f
Don't take the previous paragraph style when deleting paragraph marker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:59:06 +00:00
Vadim Zeitlin
194727706f
fixes for MSVC compilation with /Wp64 (used by new _vc7 project files): define wxUIntPtr as size_t, not ulong; suppress warning about size_t to int conversion as there are simply too many of them to be fixed now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:42:20 +00:00
Vadim Zeitlin
f954984155
check whether the grid is fully created in Refresh() (fixes a crash under Mac); refactored members initialization into a new InitVars() method to avoid duplication and ensure that they're always initialized (slightly modified patch 1901366)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:17:28 +00:00
Julian Smart
ab44f4bf4e
Fixed [ 1720130 ] A minor 'bug' or 'annoyance' with header file.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 15:05:11 +00:00
Paul Cornett
81b0235f13
update GTK size hints when window decorations change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 06:14:32 +00:00
Vadim Zeitlin
6b4296f7fb
always return 471 from wxApp::GetComCtl32Version() under CE as its commctrl.dll includes all comctl32.dll v4.71 functionality (replaces patch 1890933)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 23:28:43 +00:00
Vadim Zeitlin
4798fbc7d1
don't forcefully disable regex and tiff, they build fine with VC8 (and not eVC)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 23:24:22 +00:00
Vadim Zeitlin
2036bdd303
don't define, nor use, LVS_EX_LABELTIP under WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 23:20:27 +00:00
Vadim Zeitlin
025f7d775c
don't include wx/msw/dc.h from wx/msw/private.h, this results in circular inclusion of wx/stream.h from wx/filefn.h before wxFileOffset is defined which results in compilation errors under WinCE and is bad/confusing anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 22:32:23 +00:00
Václav Slavík
5c66d7f7a4
wxMac's wxListBox was missing GetDefaultAttributes() to accompany its GetClassDefaultAttributes()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 17:00:35 +00:00
Vadim Zeitlin
21bf81db6f
revert r51647 change as it broke the code overriding AcceptsFocusFromKeyboard() to prevent the user from tabbing into a window; simply override it at wxControlContainer too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 13:58:38 +00:00
Vadim Zeitlin
841e47cfd7
remove MacIsReallyShown() as we now have public IsShownOnScreen() doing exactly the same thing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 00:19:18 +00:00
Robin Dunn
975bcfda0d
Add MacHideApp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 20:37:43 +00:00
Václav Slavík
6fba6c78a4
fixed wxBitmapButton to use focus and hover bitmaps correctly; also fixed tons of misnomers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 19:59:36 +00:00
Julian Smart
b41f2bbc49
Fixed IsShownOnScreen() for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 14:12:34 +00:00
Václav Slavík
bbd92d1dbe
moved win_gtk.h header to wx/gtk/private, it's for internal use only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 13:24:05 +00:00
Vadim Zeitlin
2261baf7a4
restore generic DrawEllipticArc() used by CE which was lost during the great wxDC refactoring somehow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:13:39 +00:00
Vadim Zeitlin
ab63f9985f
VC8 doesn't have xlocale support under CE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:11:37 +00:00
Václav Slavík
61d34c10ea
removed now-unused wxSizer::GetMax/MinWindowSize helpers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 14:07:04 +00:00
Vadim Zeitlin
345264343a
implement wxRadioBox::Reparent(): it didn't reparent the radio buttons (patch 1891030)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:43:29 +00:00
Vadim Zeitlin
4decd6afa5
make IsOk() virtual to allow it to be overridden in e.g. wxEnhMetaFile (replaces patch 1896222)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:58:09 +00:00
Vadim Zeitlin
8949ba7d74
reverted r51340: don't use wxWeakRef in the library code as long as not all supported compilers (notably all versions of Borland C++) can compile it; reapply r51340 once wxWeakRef is supported everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:47:50 +00:00
David Elliott
83135a2c28
Don't include dlfcn.h from wx/dynlib.h on Darwin. We might be using our own
...
internal replacement functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 22:53:38 +00:00
David Elliott
c86ec17bcd
Limit wxListBox best size to 100x100. Particularly important on trunk where
...
the best size is not cached and will thus keep telling the sizers that the
best size is the full size of the content (i.e. such that you wouldn't need
to scroll it).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:51:29 +00:00
David Elliott
861b3043ca
Revert the 2.8 hacks from r51892 on the trunk.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:26:51 +00:00
David Elliott
580cc1eb85
Ensure that the NSTableColumn width is that of its largest item to enable
...
horizontal scrolling in wxListBox.
Copyright 2008 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:13:58 +00:00
David Elliott
83259e23a4
Add a new macro to the Objective-C uniquifying support that allows a
...
uniquified class to be a subclasses of another uniquified class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 20:36:16 +00:00
Vadim Zeitlin
9eaadb1b8c
tell user to define _USE_OLD_RW_STL for BC5.6 instead of refusing to compile with it entirely
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 13:44:55 +00:00