Commit Graph

840 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
1de1196ab3 gave default value of wxID_ANY to id parameter of wxStaticLine ctor as nobody uses anything else for it anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 02:13:30 +00:00
Włodzimierz Skiba
d94c09cdc6 Missing casts to event handling functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 16:29:59 +00:00
Vadim Zeitlin
fe6cf12844 init member variables properly (patch 1156088)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 00:29:56 +00:00
Vadim Zeitlin
ca9fb418d2 added default ctor and fixed copying of wxFileData (patch 1149384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 15:54:25 +00:00
Julian Smart
f45fac95d6 Fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 10:54:09 +00:00
Julian Smart
49bf4e3e68 Added GetBitmap, GetIcon to wxImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 10:36:58 +00:00
Vadim Zeitlin
7fa03f0434 define wxFooHandler() macros for all wxFooEvents to make it possible to use Connect() type-safely; simplified event macros definitions by extracing common part to wx__DECLARE_EVTn()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 23:53:48 +00:00
Vadim Zeitlin
1721a8c028 bug fixes for using wxTransientPopupWindow and wxDP_ALLOWNONE support from Andreas Pflug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 12:44:14 +00:00
Vadim Zeitlin
bf6461219d redraw the grid when it's enabled/disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-09 22:31:30 +00:00
Włodzimierz Skiba
6b99f53e39 Semicolon fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 12:37:49 +00:00
Julian Smart
807f503834 Added validator to generic date picker control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 18:37:43 +00:00