Commit Graph

260 Commits

Author SHA1 Message Date
Mattia Barbon
508d586ea2 Patch [ 584078 ] Misc samples fixes from Dimitri Schoolwerth
Addresses:
  printf-format warinigs
  indentation/style
  unused variable warnings
  used wxID_ABOUT for about menu entry
  removed references to "minimal sample" in other samples
  some other misc warinigs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 08:16:15 +00:00
Vadim Zeitlin
bebe1443c9 commented out some strange test code which resulted in memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 12:48:17 +00:00
Vadim Zeitlin
76106901f6 added more spin event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:46:41 +00:00
Julian Smart
946fb2b9dd Initialized control member pointers and checked for null pointer
to make controls sample run on MacOS X again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:05:12 +00:00
Vadim Zeitlin
ba14d9861d applied patch to build wxMSW with CW7 (patch 550445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:34:44 +00:00
Vadim Zeitlin
e94ff4cbf1 fixed logic in limiting spin ctrl values (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 10:00:36 +00:00
Vadim Zeitlin
0545d965de added another size to the status bar display
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 23:55:38 +00:00
Vadim Zeitlin
d769e8ebe0 made one button label multiline for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 19:40:37 +00:00
Gilles Depeyrot
168f4135dc updated CodeWarrior 5.3 exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 18:28:15 +00:00
Václav Slavík
389d906b21 don't use wxApp::GetStdIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:21:26 +00:00
Julian Smart
a5e635be3d Fixed controls.cpp for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 11:17:13 +00:00
Julian Smart
461e93f921 wxUSE_CONSTRAINTS now refers to constraints only, since sizers
are now crucial to wxWindows. Further Nano-X fixes; now
compiles and links in Nano-X mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 17:36:48 +00:00
Václav Slavík
601964ff75 safety check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 00:36:27 +00:00
Vadim Zeitlin
27fd024644 inserted @IF_GNU_MAKE@ to allow building with other make versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 11:31:21 +00:00
Julian Smart
847341dbeb Updated VC++ files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 14:33:01 +00:00
Vadim Zeitlin
4d23a4bf41 added support for wxALIGN_XXX in wxStaticBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 18:59:48 +00:00
Gilles Depeyrot
9869abf7c1 changed PPC struct alignement setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 21:09:23 +00:00
Gilles Depeyrot
afcca39be9 store CodeWarrior 5.3 projects as xml instead of binary projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 18:11:49 +00:00
Vadim Zeitlin
a6f762a646 replaced "CC = gcc" and even stranger "CPP = gcc -g" (huh?) with
"CXX = $(shell wx-config --cxx)" in all makefile.unx


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:10:15 +00:00
Vadim Zeitlin
f6656ccb14 replaced wx-config --cflags with wx-config --cxxflags and mentioned that
it must be done in user makefiles too in changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 12:30:26 +00:00
Václav Slavík
fd008b87e3 wxMGL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 00:18:27 +00:00
Vadim Zeitlin
0ae0226b1d compilation warning fixed for wxUSE_TOOLTIPS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 11:23:25 +00:00
Mattia Barbon
a60b1f5d57 Unicode compilation fixed for almost all samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:11:33 +00:00
Václav Slavík
8b81a824c4 compilation fix for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:59:46 +00:00
Vadim Zeitlin
7bfc22f614 some clean up, no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:55:07 +00:00
Václav Slavík
41b66be9c9 controls sample is now able to use default command line arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 23:33:09 +00:00
Václav Slavík
1ccd23f5c4 wxUSE_CHOICE ifdefs, so that the sample compiles with wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:12:43 +00:00
Vadim Zeitlin
56f23a5855 added new project files for all samples and demos; removed the old ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:30:29 +00:00
Gilles Depeyrot
a0bb22c231 renamed CodeWarrior 5 projects (added new ones as well)
added CarbonAccessors.o to Classic targets
corrected link warnings/errors in Carbon targets


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:38:00 +00:00
Robert Roebling
76fcf0f239 Various changes for simplification of focus event
code in wxGTK. It will also work for wxComboBox
    now, but not for GTK's other composite controls
    such as wxListBox and wxChoice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 21:36:25 +00:00
Gilles Depeyrot
94e2ed3b8d corrected CodeWarrior project target names and generated application names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 15:29:21 +00:00
Julian Smart
e9799102dd Fixed project files for regex.lib, taking the regex C files out of the main wxvc.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-10 17:03:02 +00:00
Vadim Zeitlin
4acb6ca672 applied patch 446010 (unicode compilation fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 18:59:50 +00:00
Gilles Depeyrot
721a4a08bc added dependency handling to Makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 15:05:53 +00:00
Gilles Depeyrot
83661a1347 include xpm files for Mac OS after correction of wxICON macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-30 11:07:42 +00:00
Julian Smart
9806a0e71e Updated version to 2.3.2 so apps can test for differences in new merged source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 20:36:30 +00:00
Gilles Depeyrot
c00200b862 added dead-strip static initialization code option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:03:18 +00:00
Julian Smart
0ddef74db4 Updates for version change to 2.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 10:57:58 +00:00
Stefan Csomor
bedaf53eaf reverting to native mac pathnames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 21:22:04 +00:00
Vadim Zeitlin
36202885d4 fix for discrepancies between wxNotebookEvent and wxNotebook GetSelection() results
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 14:01:02 +00:00
Stefan Csomor
3dec57adfd icon support moved to wxBitmap, allowing for fully transparent usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 16:23:13 +00:00
Julian Smart
c60f5c6517 Removed references to xpm[d].lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 14:31:41 +00:00
Vadim Zeitlin
7ba4fbebbc 1. fixes to wxDC deleting logic (should fix ~wxPrinterDC leak), some code
reorganized/removed
2. applied (slightly modified) wxEnhMetaFileSimpleDataObject patch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 01:22:48 +00:00
Gilles Depeyrot
94c3c45e73 added CarbonAccessors object file for non Carbon builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-31 14:03:06 +00:00
Gilles Depeyrot
4c36ca57a1 added conditional compilation for toggle buttons (wxUSE_TOGGLEBTN)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-31 13:46:37 +00:00
Gilles Depeyrot
de1ec9c63a added Navigation Services library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-05 20:32:55 +00:00
Gilles Depeyrot
9b7d196cf4 ignore CodeWarrior build directory and output files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-05 20:16:58 +00:00
Gilles Depeyrot
5b49e9eebd added CodeWarrior projects for Classic Mac OS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-26 22:24:42 +00:00
Vadim Zeitlin
1db8dc4a2b applied (slightly modified) wxToggleButton patch from John Norris and Axel Schlueter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 18:57:23 +00:00
George Tasker
0bb6242172 Radiobox control was being created with wxComboBoxNameStr instead of wxRadioBoxNameStr.
Widgets on the GAUGE tab were overlapping each other, so I slightly rearranged them to not overlap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-07 16:27:21 +00:00