Commit Graph

63 Commits

Author SHA1 Message Date
PB
f57f214122 Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
Maarten Bent
eb23d4735c Fix unannotated fall-through warnings 2018-11-25 21:29:37 +01:00
Maarten Bent
a6f6f75d12 Fix white-space in demos 2018-09-22 14:44:08 +02:00
R.J.V. Bertin
3da6b9c14f Make wxQt build again, with less compiler warnings
This fixes a missing include in qt/nonownedwnd.cpp and a missing method
in qt/glcanvas.cpp, allowing the build to complete again. A number of
missing wxOVERRIDE statements were added to reduce the important number of
compiler warnings about those missing labels.
2017-11-06 02:06:02 +01:00
Tobias Taschner
8282c1be0f Remove Windows CE support
Windows CE doesn't seem to be supported by Microsoft any longer. Last CE
release was in early 2013 and the PocketPC and Smartphone targets supported by
wxWidgets are long gone.

The build files where already removed in an earlier cleanup this commit
removes all files, every #ifdef and all documentation regarding the Windows CE
support.

Closes https://github.com/wxWidgets/wxWidgets/pull/81
2015-09-23 00:52:30 +02:00
Dimitri Schoolwerth
8f8d58d193 Use wx-prefixed macros throughout the repository.
Change {DECLARE,IMPLEMENT}_*CLASS and {DECLARE,BEGIN,END}_EVENT_TABLE
occurrences to use the wx-prefixed version of the macros.
2015-04-23 22:00:35 +04:00
Vadim Zeitlin
df13791078 Merge wxQT branch into the trunk.
This merges in the latest sources from GSoC 2014 wxQt project with just a few
minor corrections, mostly undoing wrong changes to common files in that branch
(results of a previous bad merge?) and getting rid of whitespace-only changes.
Also remove debug logging from wxGrid.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-24 01:50:11 +00:00
Stefan Csomor
ae2f2a1ece fixing background style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-09 16:18:30 +00:00
Stefan Csomor
50d539499b using common implementation avoiding out-of-order redraws
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-09 16:14:22 +00:00
Stefan Csomor
03275cc759 fixing Life demo for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-25 13:45:23 +00:00
Vadim Zeitlin
3f66f6a5b3 Remove all lines containing cvs/svn "$Id$" keyword.
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.

If nothing else, this will make an eventual transition to Git simpler.

Closes #14487.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Vadim Zeitlin
e709239889 Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks.
Add a special symbol which is defined only if the icons and other images (e.g.
cursor) are in the separate resource files and don't need to be embedded as
XPMs in the main program.

This makes the checks more clear and more customizable as it's enough to
change wxHAS_IMAGES_IN_RESOURCES definition instead of changing many platform
checks.

Closes #14050.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-04 00:28:58 +00:00
Vadim Zeitlin
0e1f8ea4a3 Remove wxMGL port.
The company behind MGL toolkit (SciTech) doesn't exist since several years and
this port is not used by anybody, so remove it to ease maintenance burden.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-15 14:46:41 +00:00
Vadim Zeitlin
18f42b94df Remove calls to wxApp::SetTopWindow() from the samples and documentation.
It is definitely not necessary to call SetTopWindow() when there is only a
single top level window and it is arguable whether it's useful to do it even
when there are many of them so don't encourage its use in the documentation
and also remove all its occurrences from the samples.

Closes #12816.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-02 22:05:14 +00:00
Vadim Zeitlin
9bc95da04c Correct printf() format specifiers for long variables in life demo.
Fix asserts in 64 bit builds due to using %u (expecting 32 bit values on a
typical Unix LP64 platform) for 64 bit long values.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-29 22:01:18 +00:00
Paul Cornett
05e0b047d8 don't use deprecated toolbar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 06:34:14 +00:00
Paul Cornett
64b9776ca6 scrolling windows need wx[HV]SCROLL style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 17:23:43 +00:00
Vadim Zeitlin
53d90250ad compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 14:07:41 +00:00
Vadim Zeitlin
cbd88f2225 compilation fixes after recent stock menu items changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 23:20:22 +00:00
Vadim Zeitlin
55325d01e6 more wxFD_XXX renamings (patch 1488371)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:31:38 +00:00
Jamie Gadd
68df211fae Deprecate wxDC::{Begin,End}Drawing()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 11:59:59 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba
5f4d35b804 wxOS2/OW warning and build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 15:54:39 +00:00
Julian Smart
e6f85deebb Further WinCE adaptations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:26:08 +00:00
Julian Smart
a9102b3671 Implemented PocketPC menubar/toolbar as wxToolMenuBar derived
from wxToolBar, solving the problem of how normal toolbars
can co-exist with combined ones. Tidied up WinCE toolbar code.
Implemented wxToolBar as 'dummy' toolbar under Smartphone.
Dialogs now show an empty menubar to hide inactive one
underneath.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 17:51:41 +00:00
Julian Smart
5292c055a6 Chose different set of buttons for toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 21:50:22 +00:00
Julian Smart
e5c990b3a6 More PocketPC adaptations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 16:37:02 +00:00
Julian Smart
e4535381d5 Life! made more WinCE-friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 14:55:41 +00:00
Włodzimierz Skiba
5d2ac6b8c6 Enhanced stock labels usage. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 18:18:18 +00:00
Włodzimierz Skiba
254a21292b Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 15:38:40 +00:00
Włodzimierz Skiba
27dc5184e5 wxUSE_STATLINE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 08:51:53 +00:00
Włodzimierz Skiba
422d0ff0be wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Włodzimierz Skiba
67a9999283 Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 09:39:38 +00:00
Włodzimierz Skiba
3ac8bd7b53 -1->wxID_ANY, TRUE->true, FALSE->false, wxDefaultPosition replacements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 17:38:07 +00:00
Julian Smart
be5a51fb59 More name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Dimitri Schoolwerth
ee710d75b8 Fixed repainting problems when resizing window, now using wxFULL_REPAINT_RESIZE flag (At least wxMSW and wxMac had this problem).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 22:39:52 +00:00
Dimitri Schoolwerth
22c1c01b13 Applied patch #825402 ("Fix for Unicode Open Watcom build of life demo"); Code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-14 17:19:44 +00:00
Julian Smart
babd36de3a Applied patch [ 807060 ] warning free demos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 13:33:34 +00:00
Julian Smart
4efbec3587 Applied patch [ 804322 ] Fixes for the "life" demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 14:18:00 +00:00
Mattia Barbon
b1823f8b46 Applied patch [ 702254 ] Life: Fix to page scrolling
from Hugh Gibson.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:14:00 +00:00
Mattia Barbon
f37c24e078 Unicode compilation fixes.
wxpoem now compiles with default settings (making it compilable with
Unicode is a lost cause).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 19:57:17 +00:00
Julian Smart
b538bf7e2a Corrected the sizer code for the navigation tool window --
it was mixing panel and frame. Now the panel is sized, and
the resulting fit used to resize the frame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 18:49:47 +00:00
Julian Smart
e334d0eac8 Include XPM under wxX11 for some samples; added comment about
non-working images in dragimag sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 12:32:50 +00:00
Václav Slavík
b87c90c18c more wxMGL-aware samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:07:33 +00:00
Gilles Depeyrot
a99c96b0ff bitmap mask corrections for Mac OS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 15:39:20 +00:00
Guillermo Rodriguez Garcia
2b15fdfcf3 Use GetPath instead of GetFileName in file selector, otherwise it doesn't work for files outside the current directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 06:35:42 +00:00
Gilles Depeyrot
764835a5d5 corrections for event handling changes in wxWindows
renamed Cell and CellBox to LifeCell and LifeCellBox to avoid conflict
with Classic Mac OS Toolbox type


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-04 20:11:49 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Guillermo Rodriguez Garcia
dbf75be725 Added a Motif-only extra call to UpdateInfoText() just after frame creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 23:19:52 +00:00
Julian Smart
281b0186b8 Misc small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 19:55:13 +00:00