Commit Graph

540 Commits

Author SHA1 Message Date
Robin Dunn
a834585d74 Updated to Scintilla from 1.45 to 1.47
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:59:31 +00:00
Robin Dunn
40716a510b some tweaks for LINK_LEXERS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:36:59 +00:00
Václav Slavík
74c107ba48 fixes to newly added i18n code in XRC - don't use it if wxXRC_USE_LOCALE isn't used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:11:38 +00:00
Václav Slavík
0653d364dd - applied patch that adds more i18n support to XRC handlers
- added ; to ends of lines in gettext output - needed for older gettext tools?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 15:37:20 +00:00
Václav Slavík
02df379910 applied patch that adds more i18n support to XRC handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 15:37:06 +00:00
Robin Dunn
6bd7d4c540 Don't use a wxPopupWindow on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 00:56:56 +00:00
Robin Dunn
45c6a92768 Fixup clipboard usage a bit more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-26 17:50:44 +00:00
Václav Slavík
4dd75a6aaf added wxFrame* wxXmlResource::LoadFrame(parent,name)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 12:14:37 +00:00
Robin Dunn
6ba338ecc3 You can't paste if someone else already has the clipboard open...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 04:20:18 +00:00
Robin Dunn
e4f0b986b9 Comment out a debug printf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 04:19:45 +00:00
Robin Dunn
ef08ab5284 Ensure that the mouse is not captured in the calltip window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:37:21 +00:00
Robin Dunn
92e898b0b4 Added generic LoadObject methods that can load any classtype from a
resources and return it as a wxObject (Assuming there is a handler for
it.)

Enabled wxFrames and wxDialogs to be loaded using a new instance
rather than only with existing instances.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:26:13 +00:00
Václav Slavík
904a226c23 applied patch #599264 (fixes to wxrc -g)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 18:52:31 +00:00
Robin Dunn
dd4aa550ab Only catch exact menu range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:25:34 +00:00
Julian Smart
eca2483012 Create STC lib in standard lib dir as per other project
and makefiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 22:02:46 +00:00
Václav Slavík
db59a97cda 1. minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from context
2. fixed 'platform' property handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:28:15 +00:00
Václav Slavík
7a442f311a minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from context
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:27:24 +00:00
Julian Smart
e492150d40 Corrected HTML index, other distro-related tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-18 14:10:52 +00:00
Julian Smart
c3aefaf3e6 Corrected SVG makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 22:29:33 +00:00
Julian Smart
af1337b041 Applied [ 594925 ] Implement wxArtProvider and XRC together
By Robert O'Connor (robertoconnor)

This patch is a draft which successfully allows a wxArtProvider to serve out icons to bitmaps for XRC files.

The syntax to use a wxArtProvider bitmap is:
<bitmap stock_id="wxART_INFORMATION" stock_client="wxART_TOOLBAR">somefallbackicon.png</bitmap>

The bitmap is optional, and will only be used as a fallback image, if the wxArtProvider returned a wxNullBitmap for some reason.

The client attribute, if not specified, currently will be wxART_OTHER. Perhaps there should be a guessing heuristic of it being in a menu node to call wxART_MENU.

Usage of XRC resouces and wxArtProvider together can be seen in an updated /contrib/samples/xrc demo, which is a separate patch.

Search the wx-dev mailing lists for "wxArtProvider" and "XRC" for the full discussions on this feature's API design.

Applied patch [ 594932 ] Extended XRC XML resources sample
By Robert O'Connor (robertoconnor)

This is a more comprehensive introduction to how to get up and running using XRC in your new wxWindows project.

It describes both the basics (for new users) and advanced features. It consists of a demo of dialogs and frames loaded from XRC. Each dialog has a textctrl at the top of the dialog, which walks the new user through that feature.

There are 8 demos:

The 4 basic ones:
-A non-derived dialog, as typically used for an about dialog.
-A derived dialog that loads its resources from an XRC (a frequently-asked question on the mailing lists), and responds to some simple events, including the disable-another-control-via-EVT_UPDATE_UI that is another FAQ, and powerful and simple-to-use feature.
-A XRC reference "Controls" dialog, using a notebook. Each tab has a single control. All XRC handled widgets can be seen at a glance, and how to use them under XRC.
-An uncentered dialog, to demonstrate the easy use of <centered>1</centered> to automatically place a Dialog centered on its parent..

The 4 advanced ones:
-Embedding a custom class into an XRC dialog, by using the "unknown" class.
-Using wxArtProvider to use stock icons from within your your XRC resources.
-Using the platform attribute to selectively show a part of XRC based on the current OS.
-Runtime variable expansion (demo only. Not implemented at this time).

Also:
-The main frame is now demonstrated as being loaded as an XRC.
- The toolbar has longhelp tag demonstrated, and are hooked up to the same events as the menu to show how XRCID() works on the same tool and menuitem XRCID.
-Some custom icons for the demonstration were created, and put into the toolbar and menubar. A custom icon also for the demonstration.
-The example code has been put in 1 class per file (both .cpp and a matching .xrc), to make it much less confusing for a newcomer to figure out what class is what, expecially with all the wx macros for declaration and implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 11:24:46 +00:00
Julian Smart
6b2878de13 Applied patch [ 594623 ] FL: No Taskbar entry for tool windows
and also replaced -with-iodbc with -with-odbc in the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 10:31:53 +00:00
Václav Slavík
b8b8c49b54 Python support in wxrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 11:02:39 +00:00
Robin Dunn
6b2cf8c9e1 Fixes for Bug #592758
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 19:11:07 +00:00
Václav Slavík
df65cc5a4b no more hacks needed in wxrc now that wxMessageOutput works...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 15:40:25 +00:00
Václav Slavík
a02376c832 added wxADJUST_MINSIZE to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 22:09:04 +00:00
Gilles Depeyrot
a4fd44528a corrected assertion with message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 10:17:02 +00:00
Robin Dunn
9b9337da0c Moved the check for page scrolling with the wheel into wxMouseEvent so
it wouldn't have to be duplicated everywhere.

Also fixed wxSTC so it can handle wheel page scrolling too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 21:11:31 +00:00
Václav Slavík
87b454d60e patch 580632 - fixes incorrect path problem in wxrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 16:58:02 +00:00
Robin Dunn
cb1871cabf Ensure that the wxSTC gets the focus when clicked.
#if'd out my wxPopupWindow meanderings and just use a simple wxListBox
for the AutoComplete window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 21:12:03 +00:00
Robin Dunn
e9409ae3e0 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 17:01:05 +00:00
Robin Dunn
536a020f8a bug fix. The wxCharBuffer was being destroyed before it was used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 23:09:15 +00:00
Robin Dunn
4fcf77bc06 Added name to wxShapeCanvas ctor for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 04:14:52 +00:00
Robin Dunn
752cd08c65 Actually check if the menu should be shown before popping it up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 00:47:02 +00:00
Václav Slavík
698052d5f1 fixed a Really Stupid Bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 09:49:03 +00:00
Václav Slavík
99cd20beb9 fixed cmd line args parsing in wxrc (contributed patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 22:06:00 +00:00
Chris Elliott
9f79d14b31 STC and Motif patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 11:41:55 +00:00
Chris Elliott
d60bd5b51e remove temportay fix to Makefile.in, now configure .in is fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-28 08:52:33 +00:00
Robin Dunn
366d7bd615 Added component control accessors to wxEditableListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 21:51:06 +00:00
Robin Dunn
09bb255197 fixed a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-24 19:35:36 +00:00
Julian Smart
c0b8a8b9cc Applied patch [ 571965 ] update stc contrib stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 14:01:57 +00:00
Julian Smart
45d6fd80b3 Applied [ 565397 ] FL wxNewBitmapButton patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 13:38:50 +00:00
Václav Slavík
a7501aebf8 forgot to check in new wxrc -- as a side effect, this commit also fixes the bug with deleting source files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-22 23:33:12 +00:00
Chris Elliott
fa89fbe54f svg Unix fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 09:46:32 +00:00
Chris Elliott
2e4b4ec598 fix to tex format documentation for wxSVG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 14:34:29 +00:00
Chris Elliott
c3ac8ee33d wxSVGDC class README.TXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 09:21:31 +00:00
Chris Elliott
e104adcd97 wxSVGDC class include files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 09:17:46 +00:00
Chris Elliott
cdf3a589b2 wxSVGDC class test sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 09:16:19 +00:00
Chris Elliott
164e084ab4 wxSVGDC class documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 09:13:39 +00:00
Mattia Barbon
8e777e8b59 Updated makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-16 15:38:01 +00:00
Robin Dunn
b89f0cb06a Fix for the TAB in the autocomplete list not being used correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 06:41:27 +00:00