Commit Graph

8130 Commits

Author SHA1 Message Date
Vadim Zeitlin
3e4f8ee256 removed hardcoded DoGetBestSize() implementation; added support for textOnly parameter in GetBoundingRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 22:29:39 +00:00
Vadim Zeitlin
46bde8dcf2 removed duplicated members which have been moved to wxTreeCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 21:49:23 +00:00
Vadim Zeitlin
4c2a39bec1 removed deprecated InsertItem() overload because it masked all the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 21:46:24 +00:00
Vadim Zeitlin
8cee4a304f introduced a common base class for both MSW and generic wxTreeCtrl implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 20:25:02 +00:00
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
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
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
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
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
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
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
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
Włodzimierz Skiba
d66551669c #include markup fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 08:36:08 +00:00
Włodzimierz Skiba
88ef3a57a4 wxPalette unified. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 14:37:43 +00:00
Vadim Zeitlin
2c01d33555 don't use a floating point value as a boolean flag; gcc4 (correctly) complains when it's compared with 0; use different function for setting the current and given time in wxMacCarbonEvent instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 12:53:24 +00:00
Włodzimierz Skiba
355b4d3de5 wxMotif for OS/2 adjustements. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 12:10:44 +00:00
Włodzimierz Skiba
edc536d358 wxColour source cleaning. Corrections to 'const unsigned char' within wxColour docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-05 16:22:44 +00:00
Włodzimierz Skiba
1a1498c08b Fix for mistake with const for non pointer/reference with corrections in documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 18:14:41 +00:00
Włodzimierz Skiba
46562151eb wxBrush::SetColour and wxPen::SetColour unified. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 16:13:42 +00:00
Chris Elliott
0152ee89dd #if wxUSE_DEBUGREPORT seems Ok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 08:08:11 +00:00
Vadim Zeitlin
14ba002a91 added more methods to transparently convert wxTreeItemIdValue to wxTreeItemId to wxArrayTreeItemIds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 17:54:09 +00:00
Vadim Zeitlin
27a1fd5880 removed old commented out code and out of date comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 17:18:46 +00:00
Włodzimierz Skiba
550343399a Source cleaning. wxMotif/OS2 adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 16:39:45 +00:00
Chris Elliott
24d88d6d46 avoid trying to link QA if not required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 15:59:02 +00:00
Chris Elliott
dc866dcabc update to 2.7 from 2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 15:53:11 +00:00
Mattia Barbon
51c9a5db64 Implemented wxMenuBar::Insert and wxMenu::Insert.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-30 09:15:52 +00:00
Mattia Barbon
eb9d223a9a Simplify preprocessor guards for render tables and new
font handling. Remove unused method.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-30 09:12:58 +00:00
Włodzimierz Skiba
84882850e5 wxCheckListBox cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-29 10:00:16 +00:00
Włodzimierz Skiba
a0fe0a18e5 wxItemContainerImmutable::FindString unified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 21:20:22 +00:00
Michael Wetherell
30e1369517 Remove cast of hash value to unsigned long, hash value can be bigger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 19:24:47 +00:00
Michael Wetherell
bfe1edbddb Add hashes for long long keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 19:08:55 +00:00
Włodzimierz Skiba
853dcc57c6 wxItemContainerImmutable::FindString unified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 16:54:43 +00:00
Włodzimierz Skiba
e9efd3f5bd Fix for broken MSWUniv after wxABI_VERSION removal (otherwise wxQTMediaBackend::QTWndProc() breaks builds).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 16:23:25 +00:00
Vadim Zeitlin
3ef092d63b (blind) fix for keyboard cues display under XP (bug 1298512)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 11:08:42 +00:00
David Elliott
3b60ea2f22 Make wxToolBar accept first mouse clicks. That is, clicking on a toolbar
tool when the window is inactive will both activate the window and cause
the tool to be clicked.
TODO: User should be provided a way to override this behavior.  The Apple HIG
are basically that "dangerous" tools (like delete) should not function
on an inactive window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 16:20:57 +00:00
David Elliott
acb96ac277 Add EndDialog helper which calls EndModal with the given return code if the
dialog is modal, and Show(false) if the dialog is not modal.  This allows
the default handlers for OK and Cancel to function without assertions.
This code is copied more or less directly from src/msw/dialog.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 15:42:42 +00:00
Włodzimierz Skiba
94c09a19ec Better fix for modal/modeless wizards.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 13:30:54 +00:00
Vadim Zeitlin
905a5e7f7c fixed function declaration in wxFORCE_LINK_MODULE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 12:29:25 +00:00
Vadim Zeitlin
151815eb93 added comment about things to update in version.bkl when changing the version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 08:59:51 +00:00
Vadim Zeitlin
8226a05440 fixed warnings about truncating 64 bit integers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 00:21:03 +00:00
Vadim Zeitlin
67036b2497 added wxIsNullDouble()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:58:29 +00:00
Vadim Zeitlin
c77a67962c use wxIsSameDouble() and wxIsNullDouble() for warning-less double comparison of doubles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:27:27 +00:00
Vadim Zeitlin
b80388aab6 don't use deprecated cast operator to wxList&
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 22:50:26 +00:00
Michael Wetherell
20ceebaa87 Fixes for include guards, patch 1256967 Paul Cornett
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:49:40 +00:00