Maarten Bent
6315ae04fb
Fix reading poems from file in wxPoem demo
...
When using ftell to get the position in the file, it should be opened in binary mode.
Regenerate the poem index file with the correct start positions.
Use the wxICON macro for creating the icon, so .ico is used on Windows.
2017-11-25 17:52:07 +01:00
Maarten Bent
4d8fad3d80
Fix warnings and modernize demo code
...
Fix wxFont, wxPen and wxBrush style deprecation warnings.
Add wxFALLTHROUGH to resolve implicit fallthrough warnings in switch statements.
Fix build error when using long for GetTextExtent (with wxUSE_GRID 0).
Remove unused icon from fractal demo.
2017-11-25 17:52:07 +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
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
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
c2e5ea68a1
made code more const-correct to fix g++ warnings about converting literal strings to non-const char*
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 13:34:46 +00:00
Francesco Montorsi
5045ca9ef3
fix almost all deprecation warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-24 12:23:31 +00:00
Václav Slavík
bd0b594dff
compilation fixes after string changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 20:49:19 +00:00
Vadim Zeitlin
f3a8b1b68e
replaced more int/longs with wxCoord
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 01:46:57 +00:00
Robin Dunn
cf63f3d3ae
More patches from FM to clean up after moving contribs. Also removes
...
use of wxUSE_RESOURCES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:08:30 +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
489f6cf713
Fix for ambiguities which happen in STL=1 mode under DigitalMars C++.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 20:01:55 +00:00
Włodzimierz Skiba
3baa26624a
More wxWidgets in wxPoem demo code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 20:22:39 +00:00
Włodzimierz Skiba
c7bde65d2b
More wxWidgets in poem demo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 20:33:42 +00:00
Włodzimierz Skiba
994e41cb4d
More wxFile fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-25 14:16:42 +00:00
Włodzimierz Skiba
a6f4dbbd86
wxString and wxChar* access for file functions. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 17:44:50 +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
Mattia Barbon
000a825371
Remove deprecated copystring() usage.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 21:48:05 +00:00
Julian Smart
a6f28223ee
Applied WinCE fix, though data file still not found
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 21:37:32 +00:00
Dimitri Schoolwerth
17d31882db
Applied patch #885752 : "wxPoem less MSW specific + cleanup".
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 20:01:55 +00:00
Julian Smart
c4b7790106
Applied patch [ 872338 ] Minor fixes to forty, fractal and poem demos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 11:33:32 +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
6bb934d631
Applied patch [ 796140 ] fixes for building demos/poem in Unicode mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 08:50:16 +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
6688f23d63
Now shows author correctly under MacOS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 13:53:48 +00:00
Julian Smart
7d92395d60
Works with wxX11 now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 17:21:56 +00:00
Julian Smart
59db9cfaa7
Replaced Blit with DrawBitmap in wxPoem to make it run with wxX11
...
Added some XSyncs because it seems the only way to make
dialog sizing work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 10:56:39 +00:00
Julian Smart
9fce8d2eee
Applied wxPoem, wxSystemSettings, sizing, install doc patches
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 21:58:34 +00:00
Gilles Depeyrot
685aded8fd
corrections for Mac OS X compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:08:55 +00:00
Julian Smart
a98f98ac6f
Some doc corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-25 15:38:00 +00:00
Vadim Zeitlin
70d26c3f4f
renaming and moving samples around
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 15:28:31 +00:00