Commit Graph

4270 Commits

Author SHA1 Message Date
Mattia Barbon
f37907ff76 Patch [ 588732 ] makes wxRB_GROUP/radiobuttons working
from Marcin Wojdyr (wojdyr)

Applied with some modifications (remove buttons from the chain on
destruction, or the program will segfault).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 19:54:46 +00:00
Robert Roebling
db16cab461 Lots of work to set PangoFontDescription as the
native font info data. WIP.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-06 16:41:31 +00:00
Vadim Zeitlin
0532a25881 added a more convenient version of wxFileType::GetOpenCommand()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:49:38 +00:00
Robert Roebling
401eb3dec2 Lots of Unix/Unicode compile fixes, some of which
are just #ifdef 0 such as the wxExecute calls
    in gdcps.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:04:08 +00:00
Gilles Depeyrot
d7a7bd6d27 added missing include file for ProjectBuilder (Mac OS X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:00:55 +00:00
Robert Roebling
dd398cd02c Added various MACROS for converting strings
back and forth in the different ansi/unicode/gtk
    mode/versions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:57:53 +00:00
Robert Roebling
54afeafe9b Compile fix (include order) for Unicode under Unix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 17:56:52 +00:00
David Webster
760a4fb945 Fixes for common dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 03:12:36 +00:00
Julian Smart
d9cf726bf3 Applied patch from Benjamin Williams to improve
wxMenu ownerdraw behaviour


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 19:03:56 +00:00
Mattia Barbon
ef357cdac2 Mention wxMessageOutput in changes.txt
wxMessageOutputLog now available in all ports


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 23:30:55 +00:00
Stefan Csomor
d835f05e11 added option for getting visible region w/o children clipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 21:03:41 +00:00
Stefan Csomor
10a3fc075c added a MacUpdateDimensions callback for DoMoveWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:41:06 +00:00
Stefan Csomor
0034fe6d67 separate mac implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:36:12 +00:00
Stefan Csomor
c05a5f07d3 added a MacUpdateDimensions callback for DoMoveWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:33:47 +00:00
Stefan Csomor
f401a117d6 switch to a separate implementation for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:30:58 +00:00
Julian Smart
f41bc3e3f3 Renamed internal GetClientWindow to GetClientAreaWindow so
as not to clash with the MDI function of the same name


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 08:31:59 +00:00
Julian Smart
9708db208d Applied [ 586524 ] wxVariant Enhancements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 20:00:55 +00:00
Julian Smart
90a1a975d4 Applied patch [ 588734 ] Makes ProcessIdle() virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:54:55 +00:00
Julian Smart
4f7202dd93 Applied patch [ 589484 ] wxGenericListCtrl, fix for direct use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:51:07 +00:00
Mattia Barbon
99f7280659 Patch [ 588837 ] Fixes comment style in gsocket.*
C files should countain C-style commensts, not C++.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 20:44:31 +00:00
Mattia Barbon
ef41d80cdf Refactored wxListBox code so that it correctly implements
wxControlWithItems, and removed some duplicated code.
Implemented wxCheckListBox using the same technique
as wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 20:35:41 +00:00
Julian Smart
e81a301cbd Added wx/listbase.h with wxListCtrl types, so we can
have wxGenericListCtrl available on all platforms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 19:04:18 +00:00
Julian Smart
9cb0795323 More tweaks so wxGenericListCtrl only uses generic
components


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 16:01:35 +00:00
Mattia Barbon
395539f90f Under MSW and GTK the foreground and background colour for a blit from a monochrome bitmap
are the text for/background colours. Until now motif used the pen and background brush colours.
Now Motif behaviour matches MSW and GTK one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 20:31:22 +00:00
Mattia Barbon
7af68c666b Take into account icon mask in wxStaticBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 20:53:12 +00:00
Mattia Barbon
18128cbb47 Calss interface updates (wxMotif-only).
Made wxCheckBox inherit from wxChekBoxBase.
Corrected virtual function hiding in wxListBox.
Made wxRadioBox inherit from wxRadioBoxBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 20:50:37 +00:00
Mattia Barbon
dba006200f Implemented wxSpinButton for wxMotif.
Renamed generic wxSpinCtrl::DoGetBestClientSize to DoGetBestSize
  ( the "Client" appears to be a relic of the past ).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 13:33:29 +00:00
Robert Roebling
f6b66bc29d Implement SetFilterIndex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 10:17:14 +00:00
Václav Slavík
d0f9a3e540 libunicows moved to sourceforge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 22:27:46 +00:00
Mattia Barbon
277f2e527e Added DoSetSize and DoMoveWindow to generic wxStaticLine.
Now it works with sizers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:13:33 +00:00
Mattia Barbon
b5a7cdc076 Rename wxGenericImageList to wxImageList in generic wxListCtrl, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:12:21 +00:00
Mattia Barbon
37c997b489 Changed wxMotif's wxWindow::Create so it does not call DoSetSize anymore;
now calling wxWindow::SetSize should call wxWindow::DoMoveWindow.
As a result composite controls should work with Motif, too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:10:37 +00:00
Gilles Depeyrot
fa4c1d1d41 prefix include file for Project Builder project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 21:47:25 +00:00
Jouk Jansen
474cd91658 Committing in .
changed one parameter in the definition of wxBitmap from long to int.
 (just as it is in wxGTK). This solves a compilation problem on OpenVMS.

 Modified Files:
 	wxWindows/include/wx/motif/bitmap.h
 	wxWindows/src/motif/bitmap.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 13:29:47 +00:00
Stefan Csomor
f8d5f1e2b4 removed virtual modifier from Command handlers, added readonly and color information to textctrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 08:42:04 +00:00
Mattia Barbon
74698d3a22 Added wxMessageOutput as per the discussion on wx-dev.
Added wxApp::DoInit to initialize the global wxMessageOutput instance.
Changed wxCommandLineParser to use wxMessageOutput.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-24 19:29:53 +00:00
Vadim Zeitlin
53d838be50 IsSingleLine() is now in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 21:59:40 +00:00
Vadim Zeitlin
018f2884d8 added operator++/-- for wxAutoULong (SF patch from Igor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 21:59:06 +00:00
Julian Smart
b31989e208 Added wxListCtrl to derive from wxGenericListCtrl,
ditto for wxImageList


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 23:03:03 +00:00
Vadim Zeitlin
3d7fa4e684 made wxDllLoader more backwards compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 14:42:38 +00:00
Julian Smart
3cd94a0d11 Applied patch [ 583922 ] Make generic/wxListCtrl avail. in WIN32
Generic wxListCtrl renamed to wxGenericListCtrl, wxImageList
renamed to wxGenericImageList, so they can be used on wxMSW
(Rene Rivera).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 08:51:49 +00:00
David Webster
10769d8c47 Lots of updates for color dialog and sliders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 03:27:36 +00:00
Václav Slavík
a99acbb00a Unicodification of wxDataStreams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 22:29:08 +00:00
Julian Smart
55f9eba3b2 Returned value from operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 21:45:40 +00:00
Julian Smart
f3a3457e65 operator = implemented inline.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 20:32:41 +00:00
Vadim Zeitlin
aa8e9a36c4 added (and documented) trivial but useful IsSingleLine() and IsMultiLine() text control methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:51:04 +00:00
Vadim Zeitlin
5bf75ae769 default style now applies to the text entered by the user as well (patch 574789)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:49:10 +00:00
Julian Smart
c7d176e2bf Made wxMouseEvent = operator public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 17:34:06 +00:00
Vadim Zeitlin
1944ad7618 1. more consistency in wxTree/ListEvent methods naming convention:
GetKeyCode() instead of GetCode()
2. wxTreeEvent::GetKeyEvent()::IsAltDown() now works under MSW
3. wxTreeEvent::GetKeyCode() works for alnum keys


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 14:29:13 +00:00
Vadim Zeitlin
04354c1deb reverted Chris' MSW additions patch (we should use IPC, not Windows-only functions to implement this functionality)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 12:41:38 +00:00