Commit Graph

3599 Commits

Author SHA1 Message Date
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