Włodzimierz Skiba
4262d65eb1
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 13:59:40 +00:00
Chris Elliott
60ff2335c4
add missing header to allow ../src/common/docview.cpp to compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 09:18:52 +00:00
Włodzimierz Skiba
60104cbafa
wxMultiChoiceDialog uses now wxCheckListBox if possible, wxListBox if not
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-01 22:35:50 +00:00
Włodzimierz Skiba
7b504551c2
Pressing build-in joystick on WinCE phones fires wxEVT_JOY_BUTTON_DOWN event.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-29 12:48:07 +00:00
Julian Smart
3db5226517
Added parent window parameter to wxHelpController constructor
...
and added SetParentWindow/GetParentWindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 09:32:10 +00:00
Vadim Zeitlin
22574b4a9c
renamed DoHitTest() to DoTreeHitTest() to avoid conflict with existing wxWindow method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 19:31:40 +00:00
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
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
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
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
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
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
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
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
Vadim Zeitlin
84006e65e8
removed wxABI_VERSION checks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:23:30 +00:00
Vadim Zeitlin
fbfb8bcc3f
added missing consts and pass objects by const reference instead of by value (patch 1205869)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba
389076f148
wxUSE_SPLINES markup and other cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-15 15:26:27 +00:00
Vadim Zeitlin
d248a65cdd
include wx/defs.h before testing for wxUSE_TEXTDLG defined in it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 23:48:11 +00:00
Vadim Zeitlin
3e7cd2f52b
dirty hack to fix deprecation warning when building wxMotif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 14:36:46 +00:00
Mattia Barbon
6bae67261c
Improve sizer support in generic wxNotebook. Fix the widgets sample
...
to take advantage of it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:00:25 +00:00
Michael Wetherell
94c7b08817
Add import/export attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 00:53:09 +00:00
Michael Wetherell
20123d4958
Add import/export attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 22:58:06 +00:00
Michael Wetherell
968eb2ef39
Add import/export macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 18:16:51 +00:00
Michael Wetherell
35c2acd4a8
Add wxListCtrl::Get/SetItemFont, patch 1236820 Francesco Montorsi
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 22:29:20 +00:00
Michael Wetherell
6900d12d69
Add wxABI_VERSION wrappers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 20:21:14 +00:00
Włodzimierz Skiba
b3eb133b51
Possibility of modeless wxWizard dialog (with presentation in sample).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 16:26:11 +00:00
Mattia Barbon
688bdfe9d1
Avoid warnings with MSVC 5.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-21 20:16:03 +00:00
Włodzimierz Skiba
532d575bd9
Allow MSW Base be usable in other ports than wxMSW (ie. wxTVision in windows console). Adjustements for limited setup.h (as in wxTV) and minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 17:53:19 +00:00
Vadim Zeitlin
97cffad594
use pragma warning push/pop under MSVC instead of enabling temporarily disabled warnings unconditionally (patch 1207689)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:10:48 +00:00
Robin Dunn
3100c3dbf3
Merge the cell size attribute the same way that other attributes are
...
merged, e.g., if it is already set to a non-default value in the
current wxGridCellAttr object then don't merge from the other.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 00:16:41 +00:00
Michael Wetherell
61581d48be
Have the calendar control handle events from it's combo and spin controls
...
using Connect().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-24 21:50:06 +00:00
Vadim Zeitlin
40717c90bf
added wxSashEventFunction macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 23:05:33 +00:00
Julian Smart
99d800190a
Added licence/copyright information
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 18:57:50 +00:00
Julian Smart
a9d13e1564
Added destructor to fix crash on Mac due to focus event causing
...
text control to be accessed while being deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 11:07:30 +00:00
Julian Smart
18fefee7d1
Applied patch [ 1178610 ] datectlg.cpp: wxDropdownButton + bug fixes
...
Jaakko Salli
This patch modifies datectlg.cpp's wxDropdownButton in
such manner that it should be much easier to convert it
into a generic drop button class. Also, it is now more
universal in the respect that it should work on
platforms other than wxMSW and wxGTK (wxBitmapButton
being prime prerequisite).
Plus there are some bug fixes for wxDatePickerCtrlGeneric.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 10:32:36 +00:00
Vadim Zeitlin
338d1deba9
made wxGridCellAttr dtor protected instead of private
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 23:55:52 +00:00
Vadim Zeitlin
c3732409ac
simplifications and corrections to background drawing:
...
1. removed ApplyParentThemeBackground() not used any longer
2. removed ProvidesBackground() which is synonymous with
!HasTransparentBackground()
3. removed a whole bunch of unused MSWXXX() methods
4. moved MSWControlColor() from wxWindow up to wxControl
results:
1. the gradient is still shown properly for static/radio boxes in notebooks
2. correct background colour is used for the static boxes
3. code is shorter and better commented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 15:23:08 +00:00
Julian Smart
c9ab63f44f
As yet unsuccessful attempt to set the focus to the choice control.
...
Also removed unnecessary border style setting code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 21:13:28 +00:00
Julian Smart
259a6e3806
No resize border on WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:39:53 +00:00
Julian Smart
c06dde42fe
Applied patch [ 1174270 ] small fixes to wxGenericDirCtrl
...
Stas Sergeev:
1. CollapseDir() was forgetting to... hrmm, to collapse
the dir...
It was only removing the child elements, leaving the dir
expanded. Missing code added.
2. ReCreateTree(), which, according to the comments, must
collapse and re-open the tree, was not re-opening it.
Fixed.
3. For those who used the bogus ReCreateTree() behaviour
to collapse the tree, I added CollapseTree(). This does
visually what the ReCreateTree() wrongly did before the
patch.
4. Documentation is updated accordingly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 19:04:03 +00:00
Stefan Csomor
8adc196b0e
content clipping becomes a runtime attribute
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 05:12:46 +00:00
Stefan Csomor
ca13514849
using separate imaglist on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 04:24:20 +00:00
Vadim Zeitlin
0d97c09023
added orient parameter to wxMDIParentFrame::Tile()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 12:27:49 +00:00
Mattia Barbon
c27bcbd5a7
Use the correct WXDLLEXPORT declaration.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 23:07:02 +00:00
Robin Dunn
63e2147c8b
Fixed bug #1163384 . Moved the code that handles activating the cell
...
editors to a EVT_CHAR event handler. This is done so the character
inserted into the editor will be the "cooked" char value (including
accented or composed keys) rather than the raw code provided by the
EVT_KEY_DOWN.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 22:33:17 +00:00
Julian Smart
844adaa47a
Provided GetBestVirtualSize and DoGetBestSize implementations for
...
generic and GTK+ wxScrolledWindow.
wxWindowBase::DoGetBestSize was returning a virtual size if there were child
controls, which was then used to set the scrolled window actual size.
Similarly, wxWindowBase::GetBestVirtualSize was returning
the actual window size; now we return the virtual size
for dimensions that have scrolling (e.g. vertical scrolling
direction), or the minimum/actual size for those that don't
(e.g. the maximum control width if there is no horizontal
scrolling).
This allows the scrolled window to be properly sized, whereas
before it would start off at the virtual size (giving
enormous layouts).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 21:21:45 +00:00
Julian Smart
3c9287bbb4
Added wxPropertySheetDialog for implementing settings dialogs
...
in the appropriate way on small devices and desktop platforms
(abstracting is the only way to unify the API)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 22:40:44 +00:00
Włodzimierz Skiba
e5b5075810
Base for wxMessageDialog with common checks for style.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 15:34:42 +00:00