Vadim Zeitlin
d32e78bd42
refactored wxGTK scrolling: it has now fully-functioning wxScrollHelper and a lot of duplicate code was removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:24:27 +00:00
Vadim Zeitlin
87a3ebe978
added GtkUpdateScrollbar; folded some code duplicated for horz/vert orientations in a single branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:22:47 +00:00
Vadim Zeitlin
ee146bca1b
added GetWindowSizeForVirtualSize() virtual hook for wxScrolledWindow (cuts down on code duplication in its DoGetBestSize())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:15:34 +00:00
Michael Wetherell
bcaab0f92e
Use 'cp -pR' as a fallback for lndir, remove $(shell) construct from makefile.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 16:29:02 +00:00
Jouk Jansen
21a186a1fc
Committing in .
...
Small fixes for OpenVMS
Modified Files:
wxWidgets/include/wx/vms_x_fix.h
wxWidgets/src/motif/xmcombo/xmcombo.c
: ----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 14:18:40 +00:00
Vadim Zeitlin
583d6b4bd2
regenerated after bakefile change to always create shared-ld-sh under Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 12:59:12 +00:00
Vadim Zeitlin
89ec5d1421
always create shared-ld-sh as we always need it for bundles (even when we don't need it for dylibs)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 12:48:40 +00:00
Michael Wetherell
0ffc92133b
Make _dist_dir a shadow directory of symlinks rather then copied files, and add
...
a 'distdir' target to make _dist_dir without creating a tarball.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 10:37:24 +00:00
Vadim Zeitlin
77df51f4fb
disable VC++ warning 4355 in wx/defs.h once and for all instead of doing it in 4 different places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 22:34:08 +00:00
Vadim Zeitlin
547703373c
regenerated with treebook files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 22:24:57 +00:00
Vadim Zeitlin
0093c2fc5f
configure with wxUSE_TREEBOOK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 22:11:29 +00:00
Vadim Zeitlin
136bafcd39
compilation fixes for wxUSE_TREEBOOK=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 22:09:35 +00:00
Vadim Zeitlin
eca15c0d54
Added wxTreebook:
...
- added the control itself
- added protected wxBookCtrlBase::AllowNullPage() to accommodate it
- big changes to the sample to get rid of (most) ugly macros
- added XRC handler for the control
- added docs
- and wxUSE_TREEBOOK everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 18:40:36 +00:00
Vadim Zeitlin
97c58531bf
made GetPage() not virtual because it doesn't need to be virtual and this allows to have const overload of it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 17:26:09 +00:00
Vadim Zeitlin
49732ef201
corrected GetBestSize() implementation: take all items, not just the currently visible ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 17:19:43 +00:00
Vadim Zeitlin
a068160f9f
don't call ::ShowWindow() if don't have HWND yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 16:52:41 +00:00
Mattia Barbon
dee1a63ff5
Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
...
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
Ran build/update-setup-h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Vadim Zeitlin
92b0cd9eb0
don't put borders by default between sizer elements on smartphones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 14:32:53 +00:00
Vadim Zeitlin
96d8f9207f
implemented GetBestSize() (TODO: make this available in generic version as well)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 13:38:15 +00:00
Vadim Zeitlin
c358ea4147
filter out duplicate mouse move events too; moved last mouse event info from wxWindow class to static variables (there is only one mouse in the system after all, no need to duplicate this data in all windows)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 13:04:40 +00:00
Vadim Zeitlin
2eef85139b
don't use -single_module together with -bundle under Darwin (ld gives an error for this)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 12:49:09 +00:00
Vadim Zeitlin
d1dbe757c0
blind compilation fix for CW 8.3 in Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 12:32:56 +00:00
Vadim Zeitlin
138861bcdd
don't use __MSL__ unless it's defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 12:23:58 +00:00
Vadim Zeitlin
6e86d7842e
show the OS information in the about dialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 21:55:33 +00:00
Vadim Zeitlin
179daed8f0
enable all warnings (but disable some of them) for DEC/Compaq/HP C++ compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 21:28:12 +00:00
Vadim Zeitlin
3f9ee1cd85
fixed unused parameter warnings in non-debug build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 21:24:32 +00:00
Vadim Zeitlin
ad60f069f1
always connect to both XmNvalueChangedCallback and XmNdragCallback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 18:35:36 +00:00
Vadim Zeitlin
31df756d74
more 'unreachable code' warnings which had been disabled instead of being fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 18:33:28 +00:00
Vadim Zeitlin
e933b5bc36
extra semicolons removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 17:10:10 +00:00
Vadim Zeitlin
a7bdad336c
unused params warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 17:01:52 +00:00
Vadim Zeitlin
541c319a2d
fixed logic bug in DoSetSize() (disabling a warning is good, fixing it is even better...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 16:58:25 +00:00
Vadim Zeitlin
68aef3dc22
added support for OSF1 (Tru64)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 16:57:07 +00:00
Vadim Zeitlin
741d91c5e4
harmless DEC cc warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 16:56:42 +00:00
Vadim Zeitlin
f1f5039b45
don't use wxCHECK_GCC_VERSION in the same test as __MINGW32__/__CYGWIN32__ as it could be undefined (DEC cc warning fix)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 16:56:01 +00:00
Vadim Zeitlin
a09f8377ec
use for instead of while for infinite loop (the latter provokes a warning from DEC cc)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 16:54:43 +00:00
Vadim Zeitlin
a1aa0349f8
added dependencies support for DEC/Compaq/HP cxx compiler (new bakefile files; regenerated configure)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 15:33:10 +00:00
Vadim Zeitlin
d368dbeaef
try setting locale n wxLocale::Init(lang) to xx_YY.utf8 if xx_YY is not supported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 00:37:31 +00:00
Vadim Zeitlin
0fad0dfda8
hack: adjust C locale to supported form under HP-UX, otherwise we crash on startup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 00:36:50 +00:00
Vadim Zeitlin
346f42313b
check whether setting locale for the selected language succeeded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 00:35:11 +00:00
Vadim Zeitlin
ed00b1195c
added ja_JP.EUC-JP catalog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 00:33:34 +00:00
Vadim Zeitlin
76f13e9040
disable some (unavoidable) HP-UX aCC warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:56:51 +00:00
Vadim Zeitlin
aab6965a93
don't define unused functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:55:12 +00:00
Vadim Zeitlin
4b2322641a
fixed check for bitmapType match (thanks to HP compiler for the warning)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:49:20 +00:00
Vadim Zeitlin
f3f4302326
undid last commit, the neceesary defines fo HP-UX are now provided by configure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:45:59 +00:00
Vadim Zeitlin
65baafba0e
define _HPUX_SOURCE under HP-UX, otherwise many things are not defined in standard headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:35:48 +00:00
Vadim Zeitlin
c25e6f326b
removed C++ comment from C file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:33:00 +00:00
Michael Wetherell
df7e062c8c
Attempt to avoid crash on exit on Solaris 10
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:08:00 +00:00
Vadim Zeitlin
3006edc092
optimization: don't test for various proprietary Unix compilers unless we're running under OS they support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 20:27:47 +00:00
Vadim Zeitlin
14cde5136d
ltest files from bakefile add HP aCC dependencies support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 15:39:34 +00:00
Włodzimierz Skiba
ae0fbceefa
#include markup fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 14:01:37 +00:00