Commit Graph

3746 Commits

Author SHA1 Message Date
Robert Roebling
a7db423515 More simplistic test for setting size and max size
after creation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 14:53:37 +00:00
Robert Roebling
d4638e6b36 Test SetSizeHints() for wxFrame (does nothing
under wxMSW).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 14:25:54 +00:00
Robin Dunn
2add9e3c2f Moved version number to 2.7.2.0 and rebaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 21:54:52 +00:00
Vadim Zeitlin
5b313974cd don't use unneeded logBuf member variable; show the changed cell value in OnCellValueChanged()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 13:46:18 +00:00
Julian Smart
f415cab9ef Robert Lang's patch [ 1583183 ] Fixes printing/print preview inconsistencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 13:07:40 +00:00
Julian Smart
8881d9f085 Demonstrates printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:59:58 +00:00
Benjamin Williams
dbd2f79065 made the multi-notebook the default view in the aui sample; added welcome screen to the notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 07:21:27 +00:00
Robert Roebling
30be036c6d Make animation of combo-popdown optional.
Replace wxMiniSleep() + wxYield() implemenation
    by wxTimer based one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 20:35:57 +00:00
Julian Smart
5e530f0226 Minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 16:49:39 +00:00
Benjamin Williams
cf6fec73d7 wxaui flags reworked a bit; allows any hinting type to be explicity invoked; turning off hinting completely is not possible; sample updated accordingly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 13:20:15 +00:00
Julian Smart
720cc10ac4 Added outline style sample and vetoing of style sheet changing when loading;
demos URL event


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:35:57 +00:00
Robert Roebling
974a12f86a [ 1584680 ] wxComboCtrl Popup Animation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 19:48:46 +00:00
Vadim Zeitlin
a978c7d258 show the item for which the context menu is shown correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:33:25 +00:00
Vadim Zeitlin
3c1f8cb1f5 initial draft of wxCollapsiblePane (patch 1577412 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:28:37 +00:00
Vadim Zeitlin
9ebb7cade2 added wxSimpleHtmlListBox (patch 1576109 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:09:16 +00:00
Vadim Zeitlin
5c35d5c1d9 test indeterminate wxGauge mode (part of patch 1551409)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:22:40 +00:00
Vadim Zeitlin
b2c782f2b4 reverted change which made the progress dialog more realistic but also made the code vastly more complex (rev 1.116), it's not really needed otherwise than to test the patch it was bundled with; simplified the test code for wxPD_SKIP (rev 1.119); increased the progress counter to see the indeterminate mode marker wrap around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:18:45 +00:00
Vadim Zeitlin
f4aa7ec32b small refactoring to avoid code duplication; renamed wxProgressDialog::UpdatePulse() to just Pulse(); added test for it in the dialogs sample (part of the patch 1551409 which somehow wasn't applied before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:08:11 +00:00
Vadim Zeitlin
06077aaf2c add alt popup window style allowing to use keyboard and comboboxes in the popup window and use it for the generic date picker (patch 1582391 from Jaakko)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:25:08 +00:00
Vadim Zeitlin
d956f3e7e7 added wxAnimateCtrl test (rest of the patch 1581391)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 12:12:41 +00:00
Vadim Zeitlin
ef54e2af14 ignore .cached files created by the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 11:46:25 +00:00
Robert Roebling
ad0b4329d7 Use wxGCDC in wxGTK to draw "Alpha" test page
in drawing sample. Pretty amazing...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:44:44 +00:00
Vadim Zeitlin
e112f01999 removed OnToolEnter() handler which interfered with the default tool long help handling; add long help for a couple of tools for testing purposes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 15:54:47 +00:00
Robert Roebling
a0d95a1ead additions for animatectrl xrc sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:09:26 +00:00
Włodzimierz Skiba
80a779275a Updated list of subprojects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:20:32 +00:00
Włodzimierz Skiba
2c92065fad Updated list of subprojects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:01:06 +00:00
Julian Smart
e472363403 Separated out list formatting into new menu.
Added use of style organiser dialog.
Demonstrated style organiser being used as Bullets & Numbers
dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:05:36 +00:00
Włodzimierz Skiba
dc5a84857d Rescale images automatically with informations about internal requirements (Jaakko Salli).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:06:00 +00:00
Julian Smart
082cfe55b9 Added various list commands to demonstrate new list features.
Now uses wxRichTextStyleListCtrl giving a choice of style types to display.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:12:03 +00:00
Włodzimierz Skiba
59185e297d Added test for scaling and bluring wxImage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 13:22:13 +00:00
Włodzimierz Skiba
008a265578 Fix for assert in 'dynarray.cpp' by Jaakko Salli.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 09:04:21 +00:00
Paul Cornett
87d658e5d7 wrong caption for html window, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:01:59 +00:00
Włodzimierz Skiba
9654efd332 Fix for assert in setting image from file by Jaakko Salli.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 14:15:06 +00:00
Julian Smart
23c386ba20 Minor correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:02:34 +00:00
Stefan Csomor
12534a3647 turning around defines, using a graphics context enables testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 12:21:59 +00:00
Włodzimierz Skiba
6bbb8a8d50 Warning fixes and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 12:08:52 +00:00
Włodzimierz Skiba
1ca21e6dd6 Follow changes in wxRenderer interface.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 12:07:17 +00:00
Julian Smart
2569ebc257 Added help provider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 11:11:59 +00:00
Václav Slavík
1f9e358229 generate makefile.unx files using bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:04:10 +00:00
Robert Roebling
92c0c17272 Add test for SetItemMinSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 08:57:46 +00:00
Włodzimierz Skiba
3f4a2351e4 Back to previous call with -1 replacement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 07:19:26 +00:00
Włodzimierz Skiba
8809287157 Minor cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 06:53:08 +00:00
Vadim Zeitlin
e86571392a RC file is not needed and not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:54:35 +00:00
Vadim Zeitlin
c3d6e0aa29 menu id 0 doesn't work under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:57:07 +00:00
Vadim Zeitlin
3652fd78a8 use sample icon, not mondrian one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:10:00 +00:00
Vadim Zeitlin
735655319a baked the standard makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:55:20 +00:00
Vadim Zeitlin
72045d5768 added wxAnimationCtrl (patch 1570325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:51:07 +00:00
Julian Smart
aa7a6a0e5c Removed dependence on wxClientDC and blitting from a window,
for compatibility with Mac OS X in Core Graphics mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 15:15:13 +00:00
Włodzimierz Skiba
f97a9818a1 Ok()->IsOk() replacement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 09:01:55 +00:00
Paul Cornett
528e5cf81a build fixes for WXWIN_COMPATIBILITY_2_6=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:35:36 +00:00
Robin Dunn
3abcf424a3 Bumping the version number also requires that version.h be modified,
and also rebaking the makeifles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 01:20:56 +00:00
Vadim Zeitlin
7ddc93433c add test for ChangeValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 20:38:14 +00:00
Vadim Zeitlin
f6519b40fe added wxTextCtrl::ChangeValue() which is the same as SetValue() but doesn't send the text changed event (first part of patch 1553551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:46:12 +00:00
Vadim Zeitlin
1d6fcbcc70 added wxBookCtrl::ChangeSelection() which is the same as SetSelection() but doesn't send the page change events (second part of patch 1553551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:37:23 +00:00
Vadim Zeitlin
fb4f85bf8f use translators if explicitely specified, fall back to the standard translator-credits from message catalog otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:23:39 +00:00
Julian Smart
8c9c49a11a Demonstrate new formatting and symbol dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:13:03 +00:00
Vadim Zeitlin
453c9e3b0b added example of customizing the generic about dialog and renamed wxAboutDialog to wxGenericAboutDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:12:59 +00:00
Vadim Zeitlin
730654eeab don't use 8 bit copyright symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:49:21 +00:00
Vadim Zeitlin
5067131185 test credits in about dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:53:44 +00:00
Vadim Zeitlin
1a1ecce631 use wxVERSION_NUM_DOT_STRING_T instead of wxVERSION_NUM_DOT_STRING to fix the Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 11:10:41 +00:00
Vadim Zeitlin
ca7adbf8bc initial implementation of wxAboutBox()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:02:04 +00:00
Robert Roebling
31fb32e137 Implemended column header mouse clicks.
Ascending/descending sorting.
  Setting the little arrow indicator for ascending
    and desceding sorting.
  Generic stubs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 09:50:45 +00:00
Robert Roebling
07a84e7bbb Add support for bitmaps in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:06:21 +00:00
Włodzimierz Skiba
67bb3c8818 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 12:11:12 +00:00
Włodzimierz Skiba
c4f6d9982e wxGenericDirCtrl page for widgets sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 10:20:32 +00:00
Robert Roebling
f828871d12 Add row activated event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 13:23:20 +00:00
Włodzimierz Skiba
b2b98dfd4b New icon for combobox with bitmaps. Improved readability of icons on dark backgrounds. Rgenerated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 10:51:24 +00:00
Włodzimierz Skiba
0cebbfc2bd Connect changed page event after subpages are created so book->SetSelection does not cause any lazy creation and non-treebook-based build does not crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 09:38:56 +00:00
Robert Roebling
fc211fe5ce More selection work in GTK+ version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 17:28:19 +00:00
Robert Roebling
baa9ebc473 Renamed wxDataViewCell to wxDataViewRenderer since the
class just renders the cell, it doesn't represent one.
    Maybe wxDataViewCellRenderer would be best...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:24:03 +00:00
Robert Roebling
eb7f97f8d6 Added event skeletons, defines, event ids..
Implemented wxEVT_DATAVIEW_ROW_SELECTED.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 13:23:31 +00:00
Robert Roebling
0a71f9e92f Replaces size_t with unsigned int in wxDataViewCtrl API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:09:06 +00:00
Robert Roebling
979f71a37b Forgot to commit latest sample changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 16:01:10 +00:00
Paul Cornett
b143cf708b 64-bit warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:36:31 +00:00
Paul Cornett
0219fd2faa warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:33:22 +00:00
Paul Cornett
50dd4ca957 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:31:21 +00:00
Stefan Csomor
f31a4cb237 graphics context implementation test case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 15:53:57 +00:00
Julian Smart
fe5aa22c17 Fixed bugs in, and added operators and copy constructors to, style
sheet classes.
Now merges base, paragraph and content styles dynamically on
display or layout so that we can distinguish between them. This
means appling a paragraph style that has character formatting
doesn't wipe out the original content formatting. The old-style
static method can be enabled by setting wxRICHTEXT_USE_DYNAMIC_STYLES
to 0 in richtextbuffer.h.
The default style is initially empty, so that adding text
reflects the base and paragraph styles. Setting the default style
doesn't merge with the previous setting, but BeginStyle does.
Adding new paragraphs is now sensitive to the previous paragraph's
style and also whether its style has a next-paragraph style indication.
Added wxRichTextCtrl::ApplyStyleSheet which reapplies styles to
paragraphs with named styles.
Added style application command to sample to demonstrate how
styles can be changed and reapplied without affecting content
character formatting.
Fixed some range bugs in UI feedback and clipboard copying and pasting.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 08:53:23 +00:00
Robert Roebling
57d0f66a02 Added test bitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 22:18:08 +00:00
Robert Roebling
cbc9145c04 Added wxDataViewBitmapCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 22:17:00 +00:00
Robert Roebling
4627af27d4 Implement most of AppendRow(), PrependRow(), InsertRow(),
DeleteRow() for GTK+ version and sorted model.
  Added tests for these.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 21:11:14 +00:00
Vadim Zeitlin
5c2603c2e8 make log messages more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 15:24:19 +00:00
Robert Roebling
3bb918c097 Added test to reproduce [ 1541148 ] wxTreeCtrol: crash if right mouse click
The MSW tree control sends a series of invalid events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:13:17 +00:00
Vadim Zeitlin
571d2e0f23 1. deprecate redundantly sounding wxArtProvider::FooProvider() to just Foo()
2. wxArtProvider::Remove() now really only removes the provider without
   deleting it, Delete() does delete it
3. moreover, ~wxArtProvider removes the provider as well so there is almost
   no need to call Delete() explicitly any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 20:16:18 +00:00
Robert Roebling
95a4630380 [ 1559479 ] wxImageComboBox
Actually wxBitmapComboBox. Also commited configure.
    Not yet updated Makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:14:49 +00:00
Robert Roebling
d9d2dcd873 More tests for circles and arcs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:58:22 +00:00
Robert Roebling
129c8cf352 [ 1557284 ] wxGenericComboControl -> wxGenericComboCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:29:45 +00:00
Robert Roebling
ce22ac4592 1552971 ] Add flag for wxODComboBox::OnDrawItem to indicate selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:16:50 +00:00
Jouk Jansen
f97d937077 Include "xrc" support properly for OpenVMS
Modified Files:
	wxWidgets/descrip.mms wxWidgets/setup.h_vms
 	wxWidgets/lib/VMS_GTK2.OPT wxWidgets/lib/VMS_X11_UNIV.OPT
 	wxWidgets/lib/vms_gtk.opt wxWidgets/src/common/descrip.mms
 	wxWidgets/src/generic/descrip.mms
 	wxWidgets/src/gtk1/descrip.mms wxWidgets/src/motif/descrip.mms
 	wxWidgets/src/xrc/descrip.mms
 Added Files:
 	wxWidgets/samples/xrc/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 11:59:21 +00:00
Robert Roebling
5b2acc3a4f [ 1550698 ] Bottom aligned toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:51:08 +00:00
Kevin Ollivier
c2c04edc2c Commiting re-baked files after wxListCtrl OS X additions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 08:06:09 +00:00
Benjamin Williams
2e5c35af4e got rid of some extra borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 14:23:02 +00:00
Julian Smart
ebd90cced0 Increased size slightly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 12:02:54 +00:00
Julian Smart
e637208a32 Style listbox now shows current style
Added combo control for selecting styles
Updated the sample to show the combo control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 10:19:45 +00:00
Vadim Zeitlin
f1a9b1a3d9 removed GTK header include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 14:11:38 +00:00
Vadim Zeitlin
914f515762 added hyperlink alignment flags (patch 1537043)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:57:26 +00:00
Vadim Zeitlin
490f72fd16 compilation fixes for wxUSE_STL==1 (patch 1555754)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:50:27 +00:00
Vadim Zeitlin
cec5ffc46d added wxLocale::IsAvailable() (extended patch 1547191)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:28:20 +00:00
Vadim Zeitlin
6ea0cc70f7 use wxID_OPEN instead of INTERNAT_OPEN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:19:50 +00:00
Vadim Zeitlin
dd2040736c compilation fix for Unicode build (patch 1546975)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:09:33 +00:00
Vadim Zeitlin
140316c278 small sample cleanup (formatting, use stock menu items)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 17:07:10 +00:00
Kevin Ollivier
ef78ec37f2 Mac(Carbon) impl of wxGauge::Pulse, also added sample code for Pulse to the widgets sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:11:48 +00:00
Paul Cornett
574d4d1c4c include fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 17:37:30 +00:00
Vadim Zeitlin
978af86426 merge of RTL changes (with many modifications) from SOC2006_RTL branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 13:35:13 +00:00
Robert Roebling
70476471b7 Added tests for run-time switch of venetian blind effect
(Patch from Bryan P).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 13:16:02 +00:00
Robert Roebling
ee0a94cfc2 Commited FRM's stockitem patch (empty stock items).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 12:23:04 +00:00
Paul Cornett
5c351979c3 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 16:15:42 +00:00
Paul Cornett
32b9d9ff97 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:45:34 +00:00
Robert Roebling
df00bdf773 Corrected close button bitmap in wxAUIMultiNotebook.
Added test for wxAUIMultiNotebook to aui sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 09:38:14 +00:00
Vadim Zeitlin
23c2b62bb4 don't call EnsureVisible(tree->GetRootItem()) for a tree with hidden root, this crashes under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 22:21:11 +00:00
Vadim Zeitlin
fe24a9451e reset busy cursor checkbox when switching to another control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 13:23:47 +00:00
Vadim Zeitlin
3e85973919 prevent selecting the treebook items without corresponding pages to ensure that CurrentPage() always returns something non NULL and removed the checks for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 21:05:20 +00:00
Vadim Zeitlin
e32bcef6e7 added tests for setting the cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 20:26:59 +00:00
Václav Slavík
27cc91429d removed wxUSE_TOOLBAR_SIMPLE leftovers from the main sources, it's not used anywhere anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 09:54:29 +00:00
Robin Dunn
59b7a28003 pass useMask=true for the toucan images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 02:35:06 +00:00
Robin Dunn
8ef089485c Show use use of both wxNativePixelData and wxAlphaPixelData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:17:02 +00:00
Paul Cornett
cc65c5f9d8 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 19:03:22 +00:00
Vadim Zeitlin
de47428c46 add round trip wxTextCtrl::Get/SetValue() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 11:19:06 +00:00
Vadim Zeitlin
63a8f2d351 use size of wxNORMAL_FONT instead of hard coded 12 points
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 10:32:48 +00:00
Vadim Zeitlin
c6b7296035 added "set encoding" menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 10:29:32 +00:00
Vadim Zeitlin
1baec21fce allow entering font description string interactively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 10:07:35 +00:00
Vadim Zeitlin
ab73fe8d1d added stock menu items support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 22:24:57 +00:00
Vadim Zeitlin
f9d0e43901 create status bar to see wxLogStatus messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 12:14:41 +00:00
Vadim Zeitlin
654ffe9f19 compilation fix after wxPlatformInfo patch: use wxOS_WINDOWS_CE instead of wxWinPocketPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:17:08 +00:00
Vadim Zeitlin
714cfcbd46 remove extraneous commas and semicolons (patch 1537792)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:04:27 +00:00
Vadim Zeitlin
8bb6b2c057 wxPlatformInfo (patch 1532064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:00:32 +00:00
Vadim Zeitlin
10d878a9ea fix printf() argument type in GetOsInfo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 20:30:17 +00:00
Vadim Zeitlin
004f400287 remove extraneous commas and semicolons (patch 1537792)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:17:53 +00:00
Vadim Zeitlin
6dd21271d9 empty spin range is valid and even useful (at least for testing purposes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:45:37 +00:00
Stefan Csomor
e7dd76568b fixing dynamic build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:21:34 +00:00
Vadim Zeitlin
a8eb5f886d menu items for Centre() tests shouldn't be checkable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:33:34 +00:00
Vadim Zeitlin
55b43eaa02 undid last change and removed wxTE/CB_FILENAME style, after looking at GTK+ API it seems that this is not the correct way to do this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:10:53 +00:00
Vadim Zeitlin
998cee6792 make control children of a panel and not directly the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-03 23:43:35 +00:00
Włodzimierz Skiba
065bb76dba Removed unused Symantec (*.sc) build system. Symantec C++ is now replaced by DigitalMars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 12:49:12 +00:00
Włodzimierz Skiba
8e62b5ee36 Removed all outdated makefile.dos and their *.msc include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 07:09:58 +00:00
Włodzimierz Skiba
53a0475d51 '[ 1530831 ] wxOwnerDrawnComboBox page for Widgets sample' extended with icon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 10:48:58 +00:00
Vadim Zeitlin
5f6475c145 moved combobox styles from defs.to to combobox.h; added wxTE/wxCB_FILENAME styles (MSW only for now); show them in the widgets sample and use for file/dir pickers text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 19:19:50 +00:00
Mart Raudsepp
d6c1aef837 Add line and page size modification possibility.
Fix tick freq text field going insensitive and unusable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 05:05:21 +00:00
Benjamin Williams
60fa553ce7 another bug fix for the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 16:43:40 +00:00
Benjamin Williams
2c26bdee05 fixed bad pane name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 16:29:22 +00:00
Włodzimierz Skiba
e80edb8515 Removed unused files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 10:07:16 +00:00
Włodzimierz Skiba
37f66b047e Use same type in both results of A?B:C operator (Tinderbox build fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:48:03 +00:00
Włodzimierz Skiba
b2c82287f6 Final steps to move to common icon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:43:18 +00:00
Vadim Zeitlin
a5e8ddfb27 update from suzumizaki (patch 1522506)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:26:01 +00:00
Vadim Zeitlin
9f057af5ef wxFD_PREVIEW implementation for wxGTK (slightly modified patch 1520690)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:48:06 +00:00
Benjamin Williams
31ec1d0379 added test pane which has no close button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 15:57:44 +00:00
Vadim Zeitlin
da9349be19 use sample.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 15:01:14 +00:00
Vadim Zeitlin
23bc3597eb install help provider to allow testing helptext tags in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:39:10 +00:00
Vadim Zeitlin
1e3fc113dd don't use obsolete wxNO_FULL_REPAINT_ON_RESIZE flag; don't use unnecessary wxCLIP_CHILDREN one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:38:12 +00:00
Vadim Zeitlin
c9f856af67 added code to test UI updating of menu items in MDI apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:36:22 +00:00