Commit Graph

157 Commits

Author SHA1 Message Date
Václav Slavík
f509d00d20 fixed /Mxx flag when using static RTL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 17:37:15 +00:00
Robin Dunn
250700e4ac A new set of baked makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 00:06:37 +00:00
Václav Slavík
d1fafa4ea9 fix resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 16:06:37 +00:00
Vadim Zeitlin
019abbf209 Unicode fixes (patch 754930)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 11:44:49 +00:00
Václav Slavík
09a3edeb9f added animate bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:17:11 +00:00
Václav Slavík
102174443d fixed animate in Unicode mode and removed use of deprecated methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:12:02 +00:00
Václav Slavík
4b53b01300 added xrcdemo bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:19:27 +00:00
Chris Elliott
0ef7283884 correct library names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 06:34:23 +00:00
Chris Elliott
be235d0801 initail Digital Mars makefile for stc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 19:35:52 +00:00
Chris Elliott
f4bf676380 fix some more samples for digital mars [allow contrib to work]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 20:30:52 +00:00
Julian Smart
bfcbd20ff2 Fix for bug [ 748171 ] Can't compile contrib/samples/fl/fl_demo2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 16:19:39 +00:00
Robin Dunn
9e730a7876 Updated Scintilla to 1.52 (on the trunk this time too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 20:00:02 +00:00
Chris Elliott
ddea7eb614 changes to watcom makefiles for OpenWatcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:14:07 +00:00
Julian Smart
695c21b118 Unicode-enabled the STC sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 09:09:06 +00:00
Julian Smart
3b69115cba More deprecated code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 14:46:00 +00:00
Julian Smart
7c9955d147 More deprecated class mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 10:24:36 +00:00
Julian Smart
f3aa39c7ac Makefile for deprecated samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:48:54 +00:00
Julian Smart
820893d0d4 New location for more samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:36:46 +00:00
Julian Smart
07831c160b New location for proplist sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:35:27 +00:00
Julian Smart
f0f7bd8a4f Copyright cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 13:48:25 +00:00
Julian Smart
621b931778 Klaas Holwerda <kholwerd@xs4all.nl> contrib/src/canvasOBSOLETE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 19:09:28 +00:00
Julian Smart
6ceef8efe9 Removed obsolete library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 19:06:57 +00:00
Chris Elliott
63d6802445 fix for watcom open compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 20:57:11 +00:00
Chris Elliott
6bc5a86729 first watcom makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 22:17:08 +00:00
Chris Elliott
1a55595e69 fix contrib makefile for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:55:23 +00:00
Václav Slavík
2f5b93fb9f added wxSplitterWindow to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 23:19:04 +00:00
Chris Elliott
18f7d0e1db commit missing .rc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 21:35:06 +00:00
Ron Lee
12a3f2275c Deprecated wxSizer::Remove( wxWindow* ), s/Remove/Detach/ in most places.
Made wxSizer child list typesafe.  I've not added the wxList implicit
conversion kludge yet, let's see who complains first perhaps..

Deprecated wxSizer::{G,S}etOption in favour of {G,S}etProportion in line
with the parameter name change in the docs.

Added {G,S}etSpacer consistent with the accessors for windows/sizers.

Made all wxSizer index parameters size_t -- we support no sensible
interpretation for negative indexes in them.  Hopefully this will
cause no real problems, but code doing (eg. Remove( 0 )) will need
to change to use 0u to resolve the ambiguity with overloaded members.
This is probably a Good Thing though, ymmv.

s/FALSE/false/g ; s/TRUE/true/g ; s/wxASSERT/wxASSERT_MSG/g in sizer.{cpp,h}

Fixed (I hope) the brokenness in wxSizer::Show -- I have no code to test
this yet, so it's a blind change, but spacers should now be hidden correctly
instead of ignored, and it should be properly reversable over multiple
calls now too.

removed pointless private scoping around DECLARE_CLASS macros.

Replace 0's I added previously with NULL -- not like that will end the
email thread either..

Added Add( wxSizerItem * ) & co.  There are probably a couple of other
places we can usefully do something like this too.  Stopped short of
refactoring everything to raise some issues about sizer method recursion
on -dev.

Updated wxSizer docs some more, they are still incomplete but getting
better.

wrapped KeyCode in wxDEPRECATED, converted all (gtk build) instances
to GetKeyCode.  There may be a few left for other ports.

Fixed a couple of other random compile warnings along the way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 10:22:07 +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
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
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
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
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
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
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
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
Václav Slavík
bd0a577993 updated wxXRC sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 10:33:21 +00:00
Václav Slavík
40e2d13434 use XML namespace in XRC files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 22:59:02 +00:00
Julian Smart
a977709b11 Canvas: added some DECLARE_CLASS macros to stop it failing
in class info initialisation
Mmedia: compiles agin
Plot: corrected VC++ project settings
Simple toolbar: should draw a highlight again now
Generic dir control: moved control ids to header for apps that
need to get hold of the individual controls
Scintilla: unconditionally compile Scintilla_LinkLexers() to correct
link error in sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 10:50:14 +00:00
Vadim Zeitlin
c81394060f compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 09:35:33 +00:00
Julian Smart
618f2efa41 Added __WXX11__ tests where appropriate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 10:32:18 +00:00
Julian Smart
cd72551c2b Added VC++ project files for remaining Gizmo samples
Corrected some precompiled header issues for dynsash samples
Corrected IMPLEMENT_ABSTRACT_CLASS in multicell.cpp
Added an event function typedef and used it in dynsash sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 10:06:23 +00:00
Václav Slavík
92657b4276 wxMGL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 10:37:38 +00:00
Julian Smart
ba09d3bb3b Applied Hans Van Leemputten's FL separator patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 12:18:49 +00:00
Václav Slavík
5ed345b7ed XMLID->XRCID, XMLCTRL->XRCCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:42:16 +00:00
Julian Smart
99718b1776 Some doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 14:37:18 +00:00
Julian Smart
847341dbeb Updated VC++ files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 14:33:01 +00:00
Václav Slavík
824e8eaacc added singleton interface to wxXmlResource, replaces wxTheXmlResource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:41:53 +00:00
Gilles Depeyrot
8cdb648efa corrections for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 17:37:23 +00:00