Commit Graph

400 Commits

Author SHA1 Message Date
Włodzimierz Skiba
b73e73f912 Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h inclusion not touched by chckconf.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 17:20:50 +00:00
Robin Dunn
208458a7f5 Patch from Tim Kosse to add supoprt for wxListCtrl::OnGetItemColumnImage
which enables images to be specified for columns other than zero in
virtual list controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 23:29:02 +00:00
Włodzimierz Skiba
0e2a14e5e3 Fixes for building wxOS2 shared with OpenWatcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 13:59:55 +00:00
Mart Raudsepp
63ec432bd7 Move constant strings to .rodata/.data.rel.ro ELF segment from .data by making them really const.
If any more exotic toolchain decides to not export these strings into the core library anymore, let me know. Try to
compile the notebook sample, for example.
TODO: Move strings not meant for wxCore out of wxCore to the appropriate library.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-16 14:59:55 +00:00
Stefan Neis
a4ebf7ba61 Integrated fixes for sizing/positioning; cleanup; removal of handle/window
association in dtor. (All according to patch #1396667).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 23:43:45 +00:00
Stefan Neis
37ac8a5f21 Fixed label handling (translating for accelerator handling only for relevant
classes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 22:46:06 +00:00
Stefan Neis
713d144145 Improved size handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 22:37:54 +00:00
Stefan Neis
59fb774d92 Applied patch #1396039 (Notebook tab bitmaps)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 16:52:50 +00:00
Stefan Neis
ea8ca011a3 Fixed GetIcon to keep up with return type change on all other platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-25 14:37:51 +00:00
Vadim Zeitlin
21e0a4d5f1 1. moved m_majorDim duplicated in many ports to wxRadioBoxBase
2. also implement Getcolumn/RowCount() in it now and document them
3. removed various remains of old (pre-wxRadioBoxBase) cruft

sorry in advance for any compilation breakage on the platforms I can't test on


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:28:15 +00:00
Mart Raudsepp
da9e956384 Make wxJoystick::GetNumberJoystick a static method, as the number of
joysticks attached to the computer is a global property, not one of the
specific instance. Patch from Lauri Nurmi.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 12:50:13 +00:00
Włodzimierz Skiba
c0089c96ec Minor cleanings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-15 07:40:12 +00:00
Włodzimierz Skiba
6d3d756a6a Macros for simplified testing Open Watcom version and required tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 16:16:05 +00:00
Włodzimierz Skiba
743e24aa72 Get/SetTitle only for wxTopLevelWindow (wxOS2 part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 21:13:03 +00:00
Włodzimierz Skiba
cb7d73757f Support for automatic setup.h in OS/2 with OW builds. __WXOS2__ final removal. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-27 16:01:45 +00:00
Stefan Neis
fbf618dff8 Removed unused symbol __WXOS2__ (it's either __OS2__ when platform specific
- similar to __UNIX__ - or __WXPM__ when specific to the port - similar
       to symbols __WXMOTIF__ or __WXGTK__).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 20:42:59 +00:00
Julian Smart
5d7836c47d Added wxRichTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-19 12:52:47 +00:00
Mattia Barbon
dee1a63ff5 Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
  Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
  Ran build/update-setup-h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Włodzimierz Skiba
88ef3a57a4 wxPalette unified. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 14:37:43 +00:00
Włodzimierz Skiba
355b4d3de5 wxMotif for OS/2 adjustements. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 12:10:44 +00:00
Włodzimierz Skiba
edc536d358 wxColour source cleaning. Corrections to 'const unsigned char' within wxColour docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-05 16:22:44 +00:00
Włodzimierz Skiba
1a1498c08b Fix for mistake with const for non pointer/reference with corrections in documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 18:14:41 +00:00
Włodzimierz Skiba
46562151eb wxBrush::SetColour and wxPen::SetColour unified. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 16:13:42 +00:00
Włodzimierz Skiba
550343399a Source cleaning. wxMotif/OS2 adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 16:39:45 +00:00
Włodzimierz Skiba
84882850e5 wxCheckListBox cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-29 10:00:16 +00:00
Włodzimierz Skiba
853dcc57c6 wxItemContainerImmutable::FindString unified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 16:54:43 +00:00
Michael Wetherell
20ceebaa87 Fixes for include guards, patch 1256967 Paul Cornett
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:49:40 +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
d48ba93329 Wrong flag correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-21 10:32:41 +00:00
Stefan Neis
c90c34007a Added (dummy) handler for loading bitmap from file instead of resource.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 23:27:28 +00:00
Włodzimierz Skiba
49fe461056 wxOS2/OW warning and build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 15:41:50 +00:00
Michael Wetherell
f2555abd7a Fix uses of wxUSE_METAFILE, patch 1262723 Paul Cornett
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 13:48:24 +00:00
Vadim Zeitlin
85fa5d02d8 removed (unused since quite some time) wxUSE_ITSY_BITSY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:31:11 +00:00
Vadim Zeitlin
91ebae296d removed wxUSE_PENWINDOWS (and its misspellings), it didn't work and wasn't used/defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:28:00 +00:00
Włodzimierz Skiba
c40158e40b Corrections for future OW 1.4. Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-26 09:05:27 +00:00
Włodzimierz Skiba
b63269cabe Re-adding setup0.h for OpenWatcom makefile build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 13:31:06 +00:00
Włodzimierz Skiba
7e1e696511 wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 17:18:43 +00:00
Stefan Neis
93599ac045 Possibly to allow including both os2/private.h and GUI's private.h for
X11 based builds on OS/2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-26 13:25:39 +00:00
Julian Smart
3103e8a97e Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Włodzimierz Skiba
e2effeb988 Use treebase.h for enum duplicated in port/treectrl.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-23 10:28:28 +00:00
Julian Smart
3c203a1851 Removed redundant cursor files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-19 20:39:06 +00:00
David Webster
edf1dfa16d Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-27 01:12:00 +00:00
David Webster
6b82ff6f9f New classes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 04:04:37 +00:00
Vadim Zeitlin
294ea16de3 implemented wxMenuBar ctor taking array of menus/titles for all ports; added optional flags argument to it (patch 1162726)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:45:24 +00:00
Włodzimierz Skiba
e5b5075810 Base for wxMessageDialog with common checks for style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 15:34:42 +00:00
Vadim Zeitlin
1de1196ab3 gave default value of wxID_ANY to id parameter of wxStaticLine ctor as nobody uses anything else for it anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 02:13:30 +00:00
Włodzimierz Skiba
fa50c0e3bf Linup API of wxRadioBox::Show on all ports. Move wxRadioBox::IsValid from wxUniversal to base class (+ GTK which do not use base class) and use it where applicable. Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 16:52:31 +00:00
Włodzimierz Skiba
1a87edf286 Consistent wxWindow::Enable with wxRadioBox::Enable for control and its items. wxRadioBox of PalmOS. Little source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 21:02:41 +00:00
Vadim Zeitlin
c6179a847d 1. added SetSelection() to wxItemContainer and removed its declarations
from derived classes
2. made wxItemContainer::Select() non virtual: it simply calls SetSelection()
3. renamed wxListBox::SetSelection(n, select) to DoSetSelection() for all
   ports and defined non virtual SetSelection() overloads in the base class
   to avoid virtual functions hiding


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:08:27 +00:00
Włodzimierz Skiba
cb00a262dc wxWindow::GetClientAreaOrigin duplicated wxWindowBase method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 10:49:35 +00:00