Commit Graph

559 Commits

Author SHA1 Message Date
Julian Smart
0fa2e104c5 Partially applied [ 632321 ] XRC object_ref fix
1. Fix object_ref so it at least works, with this I mean
XRC was not even handling the little sample in
tn0014.txt correct.

Hans Van Leemputten (hansvl)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:52:48 +00:00
Robin Dunn
18976605f5 Fixed possibility of releasing mouse if the window no longer had it captured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 20:57:55 +00:00
Robin Dunn
fdec65df6d Misc wxSTC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 22:35:12 +00:00
Julian Smart
5c8756b04c Applied patch [ 651713 ] changes to convertrc
David J. Cooke (davidjcooke)

amendments to convertrc: add support for
CONTROL... syntax for static, edit, combobox,
buttons, but NOT scrollbar; add support for
embedded quotes in stringtable; other minor changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 11:03:05 +00:00
Václav Slavík
118cc185eb fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:16:27 +00:00
Václav Slavík
c742a6ae90 removed a forgotten relict of past: xmlbin format extension still used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:50:28 +00:00
Julian Smart
fc7c8ae9c3 Applied [ 639060 ] Individual bar floating in contrib/fl
In the current contrib/fl implementation, all control bars
in the frame layout either float or they don't. I added
code to allow the bar floating to be determined on a bar-
by-bar basis. That is, this patch enables some control
bars to float while keeping others locked.

Kevin Yochum


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:21:23 +00:00
Václav Slavík
e77d4369de XRC assigns ID to wxStaticBox created by including wxStaticBoxSizer (did what patch 632470 was supposed to do)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:22:00 +00:00
Julian Smart
c31752dadf Updated version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 11:08:08 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Václav Slavík
86118733af updated wxTreeCtrl styles in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 18:06:55 +00:00
Gilles Depeyrot
892bf376e9 don't override INSTALL as install path is made absolute in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 05:56:49 +00:00
Václav Slavík
df93d8bab7 added some missing styles to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-13 17:22:34 +00:00
Robin Dunn
f114b8580b Update to Scintilla 1.48
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-11 01:00:07 +00:00
Gilles Depeyrot
ab958adb1e use RemoveAt instead of Remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-09 20:27:54 +00:00
Robin Dunn
22a3a1994c A refinement of my patch from Neil Hodgson
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 01:07:16 +00:00
Robin Dunn
27813df1f7 Better placement of the AutoComplete listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 21:56:28 +00:00
Robin Dunn
fb817e4c71 Fix off-by-one in vertical scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:01:32 +00:00
Gilles Depeyrot
ab7ce33c56 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:28:46 +00:00
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