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
Paul Cornett
5b4a70247c
use "new" wx-prefixed macros in samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-30 07:07:55 +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
438959cca8
Don't create multiple parent-less top level frames in layout sample.
...
This resulted in unexpected behaviour if the main frame was closed while the
other ones were still shown as they remained shown and had to be hunted and
closed one by one to make the application exit.
Fix this simply by creating all the other frames as children of the main one.
This also results in better UI when minimizing and restoring the main frame.
Also get rid of unused position parameters in child frame constructors and get
rid of the title parameter which is not really needed as it's always the same
too.
See #11923 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-31 23:21:21 +00:00
Vadim Zeitlin
ce7fe42e84
Provide shorter synonyms for wxEVT_XXX constants.
...
Use the same short names as are used by the event table macros for the event
type constants themselves. This makes them much more comfortable to use, e.g.
Bind(wxEVT_BUTTON) compared to Bind(wxEVT_COMMAND_BUTTON_CLICKED).
The old long names are still kept for backwards compatibility and shouldn't be
removed as it doesn't really cost anything to continue providing them, but all
new event types should only use the short versions.
Closes #10661 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-25 10:11:03 +00:00
Vadim Zeitlin
73eb7ca93f
Make wxWrapSizer demo in the layout sample more dynamic.
...
Allow adding checkboxes to and removing them from the wrap sizer to
demonstrate how it adjusts to its contents dynamically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-09-22 16:16:30 +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
526954c596
Globally use "wxWindows licence" consistently.
...
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.
See #12165 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00
Vadim Zeitlin
6087ca88c1
Visually show the cells boundaries in layout sample grid sizer test.
...
Closes #11456 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-08 15:56:26 +00:00
Vadim Zeitlin
90666795d4
Another compilation fix after wxFlexGridSizer ctors change.
...
wxFlexGridSizer ctor was even used incorrectly even in layout sample itself,
once again the code was supposed to create 3*3 sizer, not 3-column sizer with
3 pixel vertical gap.
Changed ctors to be more explicit and to use a 5 pixel gap in both directions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-11 10:54:40 +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
Francesco Montorsi
41f02b9acc
always call SetIcon() on the main frame of the sample; some small cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 01:01:00 +00:00
Robert Roebling
e2512c2373
Make wxWrapSizer respect border around items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 11:20:43 +00:00
Vadim Zeitlin
73d1f52bb0
added missing wx/wrapsizer.h include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 15:32:41 +00:00
Vadim Zeitlin
92c01615ec
remove/replace redundant SetAutoLayout() and Fit() calls, leave just SetSizer[AndFit]() ones (patch 1905759)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:08:02 +00:00
Robert Roebling
15f7c30516
Added wxWrapSizer (modified patch: [1826950] Wrapping Sizer) from Arne Steinarson
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 11:37:17 +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
Robert Roebling
a1a3bffc93
Added simplistic test for nested sizer (in panel).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:10:32 +00:00
Włodzimierz Skiba
6bbb8a8d50
Warning fixes and minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 12:08:52 +00:00
Robert Roebling
92c0c17272
Add test for SetItemMinSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 08:57:46 +00:00
Vadim Zeitlin
004f400287
remove extraneous commas and semicolons (patch 1537792)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:17:53 +00:00
Vadim Zeitlin
fbfb8bcc3f
added missing consts and pass objects by const reference instead of by value (patch 1205869)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Vadim Zeitlin
7235f8e178
added test of box sizer proportions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-13 10:08:52 +00:00
Robin Dunn
bdbb07ede3
Use a panel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 21:21:57 +00:00
Włodzimierz Skiba
925e9792d3
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@29684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:54:57 +00:00
Vadim Zeitlin
e5544e77ec
rewrote some sizer code using wxSizerFlags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 21:44:00 +00:00
Włodzimierz Skiba
4aa0bd9b31
wxUSE_STATLINE fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:34:59 +00:00
Włodzimierz Skiba
8520f1374c
Fixes for wxUSE_STATUSBAR.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 15:36:01 +00:00
Václav Slavík
adbf2d732f
deprecated wxBookCtrlSizer and wxNotebookSizer, they are no longer needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 11:58:06 +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
Václav Slavík
9230b62136
applied patch to remove use of deprecated constraints API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 10:46:36 +00:00
Robin Dunn
6c1ad2a8e6
A little narrower initial layout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 19:33:25 +00:00
Robin Dunn
77c5e9230e
Tweaked the layout sample a bit for wxGridBagSizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 18:53:45 +00:00
Robin Dunn
20b35a6916
Added wxGridBagSizer, a grid sizer where item positions can be
...
specified and row/col spanning is allowed.
Updated docs, the layout sample, files.bkl, and updated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 01:31:44 +00:00
Julian Smart
6aa89a22b8
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:55:54 +00:00
Vadim Zeitlin
9e023db73b
updated the sample to show the sizers, not constraints, in the main frame; also demonstrate flex grid sizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 12:02:22 +00:00
Mattia Barbon
42ed75321c
More samples/Unicode fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 10:23:11 +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
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
e1c6c6aede
use the new wxSystemSettings API everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:27:54 +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
Vadim Zeitlin
d93c719ac0
1. some DDE tests in exec
...
2. per-page images test in wizard
3. wxLog dialog test in dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 02:31:49 +00:00
Robin Dunn
56ac3e75d4
A couple small tweaks to get the new wxNotebookSizer sample to work on MSW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 19:38:07 +00:00
Robert Roebling
83edc0a574
Added wxNotebookSizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 15:07:14 +00:00
Ron Lee
3739399733
added simple test for wxStaticBoxSizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 05:07:18 +00:00
Robert Roebling
d8d474af58
Distrib changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 14:55:39 +00:00
J. Russell Smyth
d2befda32f
Changed wxBox to wxBoxSizer to fit current API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-12 05:09:59 +00:00
Robert Roebling
3417c2cd3d
Replaced old wxSizer,
...
Converted two of wxGTK's standard dialogs to use them,
Applied two fixes to wxDC code,
Made wxRadiobox a little smaller,
Added sizer.h to wx.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-09 17:00:51 +00:00
Robert Roebling
d597fcb781
Completed wxBox,
...
Changed a few defines in defs.h, most importantly,
wxCENTRE is now 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-09 11:27:37 +00:00
Robert Roebling
61d514bb2f
Finished porting Robin's wxSizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-08 21:09:59 +00:00