Commit Graph

19 Commits

Author SHA1 Message Date
Julian Smart
2a1f999faf Applied patch [ 1171542 ] access static class members via scoping operator
Paul Cornett: A static class member can be accessed as X::member,
there is no need for an object or pointer (s.member or
p->member). There are also a few bugs with incorrect
usage of wxString::Format and wxString::FromAscii.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:49:41 +00:00
Julian Smart
df6735ecda Script updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 08:36:01 +00:00
Julian Smart
685cdfcb9e Misc script updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 07:52:25 +00:00
Julian Smart
a951722b6a Script updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 20:55:59 +00:00
Julian Smart
2bd0a4dddc Script updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 19:21:04 +00:00
Julian Smart
365a001408 Script fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-30 12:04:27 +00:00
Julian Smart
c4839ccf58 Regenerated makefiles for 2.5.2
Other version updates
Added list of Cocoa files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 14:12:40 +00:00
Julian Smart
01025de029 Corrected sample.r name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 22:59:36 +00:00
Julian Smart
87cae034a5 Added some files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 20:03:46 +00:00
Julian Smart
2ce79e485d Removed some obsolete distribution files
Updated listing files
Added new shell scripts for spinning wxMSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-12 15:33:14 +00:00
Julian Smart
e015d1f7da Applied patch [ 603858 ] wxTextCtrl text alignment patch
Benjamin I. Williams

This patch implements three new flags for the
wxTextCtrl control. The flags are wxTE_LEFT,
wxTE_CENTRE, and wxTE_RIGHT. These flags can change
the way text is aligned inside an edit control, which
is useful when the user is editing numbers or dates.

At Vadim's recommendation, the patch implements the
alignment flags so they are equal to the corresponding
wxALIGN_* value. wxTE_LEFT is actually 0x0000, and is
just a place holder. wxTE_CENTRE is equal to
wx_ALIGN_CENTER_HORIZONTAL (0x0100), and wxTE_RIGHT is
equal to wxALIGN_RIGHT (0x0100). I couldn't agree more
with this idea.

As Vadim pointed out, choosing to set the text
alignment flags to the corresponding wxALIGN_* flags
has a slight negative side effect: the values 0x0100
and 0x0200 collide with the existing flags
wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL. A valid point
was raised, however, which stated that the flags would
never really be used at the same time, and also that
wxTE_AUTO_SCROLL is (possibly) going to be deprecated
anyway.

While this collision is not really a problem, I didn't
like the idea of someone specifying wxTE_NO_VSCROLL and
ending up with with a centered text control ! Thus, I
chose to move both wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL
down to the free bits 0x0002 and 0x0008, respectively.
I'll leave the final say up to Vadim and the rest of
you whether you want to move these flags down or keep
them where they are (with collisions). What truly
matters to me is that I can now create text controls
with the proper alignment!

This patch also updates the documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 16:15:30 +00:00
Julian Smart
f9ceab7ce6 Ditribution script mods;
Use wxImageList instead of wxGenericImageList where possible
in wxListCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-28 08:54:00 +00:00
Julian Smart
fde719f935 Updated release scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 11:29:27 +00:00
Julian Smart
b9f933ab5d Applied patch [ 597398 ] Generic MDI, wxNotebook based.
By Hans Van Leemputten (hansvl)

- This patch implements a generic notebook based mdi,
due to that wxMDIChildFrame could not derive from
wxFrame some things in the samples and in the docmdi
classes needed to be adjusted... basically this comes
down to not do (wxFrame *) but instead do
(wxMDIChildFrame *), or store a pointer to the frame in a
wxWindow* instead of a wxFrame variable...

- The main reason wxMDIChildFrame cannot derive from
wxFrame is that it would take to much platform specific
functions to be overwritten (= lot of ifdef's). This then
couldn't be called generic anymore, so that's why we
need to derive from wxPanel...

- Tested on/with:
1. wxMSW (I disabled the MSW MDI implementation to
be able to test it), tested it with the MDI sample,
docvwmdi sample and docview sample and also tested it
with wxWorkshop. (test = compile and run)
2. wxX11, tested with the same set wxWin samples as
the wxMSW test. I also compiled wxWorkshop with it,
but could not run wxWorkshop due to some issue not
related to the MDI implementation.

- How to apply:
* Apply the patch
* move mdig.cpp into wxWindows/src/generic/
* move mdig.h into wxWindows/include/wx/generic/

- Some extra things that still need to be done:
* File lists, project files should be updated to include
mdig.cpp (the patch only change this on wxX11)
* The configuration script should be updated.
* Maybe wxUSE_GENERIC_MDI_ARCHITECTURE also
should be added so it is only included when wanted...




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:09:55 +00:00
Julian Smart
332b8edbdc Script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 17:08:47 +00:00
Julian Smart
38be1092b6 Added wxMac distrib to tardist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 11:39:11 +00:00
Julian Smart
804a46d3f7 Removed Mac-specific XPM files from mac.rsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 16:08:39 +00:00
Unknown (DM)
1661948432 Added Codewarrior project files for jpeg, png, tiff, and zlib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-06 05:15:41 +00:00
Julian Smart
1c98149d12 Added mac.rsp, zipmac.bat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-04 10:31:08 +00:00