Commit Graph

60 Commits

Author SHA1 Message Date
Stefan Csomor
2383c21c63 mac paths updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:15:36 +00:00
Václav Slavík
e835292782 regenerated all trunk makefiles with bakefile-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 14:48:50 +00:00
Julian Smart
99404ab05f Fixed several style, paste and undo bugs
Added a reload function to the sample for quickly restoring original text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 17:05:54 +00:00
Václav Slavík
c3c11581dc added VC7/8 project files for samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 11:38:07 +00:00
Václav Slavík
6e0fbb3dbf regenerated makefiles with bkl-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 12:13:07 +00:00
Vadim Zeitlin
747d7d7c15 made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 01:39:44 +00:00
Vadim Zeitlin
7379e47609 rebaked everything, fixes problems with OpenGL samples makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 00:25:59 +00:00
Václav Slavík
24dfe91709 removed ANSI configs from VisualC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-25 11:14:40 +00:00
Chris Elliott
444833b323 update makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-11 15:58:04 +00:00
Julian Smart
44cc96a80c Merged wxRichTextAttr and wxTextAttrEx into wxTextAttr, and added a font table
to wxRichTextBuffer to reduce wxFont consumption and increase performance.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 11:20:36 +00:00
Julian Smart
a047aff270 Added wxBORDER_THEME, wxWindow::GetDefaultBorderForControl(), wxWindow::CanApplyThemeBorder().
wxTextCtrl and wxSearchCtrl now get the correct border on wxMSW, and the wxRichTextCtrl sample
also now demonstrates correct borders.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:22:43 +00:00
Vadim Zeitlin
a989a329db changed ds[pw] files to use CRLF eol style and not native one (this helps if you have them on a partition exported via Samba from Unix to Windows)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 12:13:58 +00:00
Julian Smart
3e54156282 Implemented text background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 15:22:07 +00:00
Robin Dunn
ae4ccf12b6 rebaked after changing the version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 02:14:45 +00:00
Vadim Zeitlin
45e6e6f8ab call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Julian Smart
c3e54dee91 Removed redundant code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 11:55:09 +00:00
Włodzimierz Skiba
50f65288b1 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:50:19 +00:00
Vadim Zeitlin
d6b447a754 protect gs_allThreads with a mutex (modified patch 1518719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:26:26 +00:00
Robin Dunn
25bb1412af Move version number to 2.8.0.0 and rebake the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 02:32:01 +00:00
Julian Smart
42688aea2d Added a couple of text effects
Added style description
Fixed some bugs in style comparison
Fixed extra newline when loading


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 14:05:50 +00:00
Vadim Zeitlin
69199aad02 rebaked with baefile rev 928
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:39:49 +00:00
Julian Smart
4fe0156b18 Made all bitmaps 16x16
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:51:33 +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
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
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
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
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
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
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
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
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
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
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
Włodzimierz Skiba
4753c7ce48 PDA adjustements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 15:28:50 +00:00
Włodzimierz Skiba
1226b3b335 Reuse common sample resources. Remove unused files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 14:55:38 +00:00
Julian Smart
27e20452c4 SetStyle/GetStyle corrections
Added compatibility ctor to wxTextAttrEx
wxRichTextCtrl should take a string value for wxTextCtrl compatibility


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 21:13:18 +00:00
Julian Smart
da0d2c78ce Seems to work fine without switching off anti-aliasing now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 06:58:02 +00:00
Julian Smart
13127359b0 Changed order of libs to fix linking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 08:19:12 +00:00
Julian Smart
3b2cb4316b Moved wxRichTextCtrl to its own library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:16:39 +00:00
Julian Smart
7f0d9d717d Added support for tabs in wxRichTextCtrl (Ashish More)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 10:57:20 +00:00
Julian Smart
0a292d0de4 Added missing makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 14:20:44 +00:00
Robin Dunn
15fa9a1f82 fixed line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 06:38:38 +00:00
Vadim Zeitlin
ff3e84ffdc File/dir dialog styles and other changes (patch 1488371):
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Włodzimierz Skiba
61609f69a5 Removal of first part of dsw files (as requested by Jamie Gadd).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 20:08:59 +00:00
Michael Wetherell
9d309aad76 Rebake all the VC++ project files and makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-21 23:06:27 +00:00
Julian Smart
b71e9aa4e2 Separated XML and HTML rich text I/O handlers
Cleaned up XML I/O
Added HTML handler to build system
Added encoding member for saving files output


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 12:31:07 +00:00
David Elliott
8ced02f601 Ran make -f build/autogen.mk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 05:17:36 +00:00
Michael Wetherell
5c60e84569 Regenerate Makefile.in, configure and the VC++ project files after adding rcdefs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 02:34:32 +00:00
Włodzimierz Skiba
dbf38e885e Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 16:53:29 +00:00