Commit Graph

27 Commits

Author SHA1 Message Date
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
Francesco Montorsi
197ab43d72 some more SetIcon() calls added; cleanup indentation of some samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 01:20:35 +00:00
Vadim Zeitlin
45e6e6f8ab call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +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
11fdee427e Wrong #pragma interface/implementation warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 19:10:46 +00:00
Dimitri Schoolwerth
16f26dadb5 use a default position for frames and in some cases a default size as well (otherwise the menubar is partially hidden (with MSW) due to too small frame height)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-05 19:27:23 +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
Włodzimierz Skiba
348469c284 -1->wxID_ANY, TRUE->true and FALSE->false replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 11:29:38 +00:00
Václav Slavík
11d667e7eb use AddBook(wxFileName)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:30:56 +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
59b9a2607a path correction for wxMac using Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 10:07:02 +00:00
Gilles Depeyrot
788233da90 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@16895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:31:03 +00:00
Vadim Zeitlin
2f6c54eb07 patch from Dimitri fixing a few memory leaks and unTABbing the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:16:03 +00:00
Václav Slavík
2e25e7b762 let the sample display existing page on start
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:43:39 +00:00
Gilles Depeyrot
67547666c9 use "..." instead of <...> for wx includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 17:41:56 +00:00
Václav Slavík
3cc2aa562f minor complitation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 23:19:03 +00:00
George Tasker
92a19c2e77 All occurances of #include <wx/wxprec.h> changed to #include "wx/wxprec.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 13:33:34 +00:00
Stefan Csomor
c638c3cd12 added new calling conventions for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 20:44:02 +00:00
Václav Slavík
bdb6e206f1 updated to show new wxHF_xxxx contants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-05 18:05:24 +00:00
Václav Slavík
5fbc988f58 added wxHF_OPENFILES demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:58 +00:00
Václav Slavík
047640f231 uses wxInitAllImageHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:05:39 +00:00
Václav Slavík
95b1b9d3b3 uses SetTempDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:56 +00:00
Václav Slavík
5612e5243e wxConfig is used together with wxConfig::Set now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:18:53 +00:00
Harco de Hilster
8f8ca6c952 fixed some frame cleanup stuff; The main frame (MyFrame) explicitely closes
the helpframe now before deleting the config pointer and closing itself.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 14:57:17 +00:00
Harco de Hilster
8ec2b48446 New HTML help system. The old controller class has been split in
three parts; basic data, a frame and a controller. Docs will appear
shortly...

All Makefiles should be correctly updated. To be sure, I put an
#error pragma in the old files, which will be removed in a few days.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-12 17:45:34 +00:00
Václav Slavík
2c997ad008 now has 'help' item in menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-08 15:52:31 +00:00
Václav Slavík
5526e819ec *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-07 22:04:58 +00:00