Commit Graph

8627 Commits

Author SHA1 Message Date
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
Václav Slavík
bdf7416759 wxCmdLineParser's output goes to stderr, not message box, under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 15:40:55 +00:00
Gilles Depeyrot
585a7f9db3 updated xml project file with latest changes (spinctrl, display, msgout, ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 14:39:32 +00:00
Gilles Depeyrot
1327357121 add spinctrl header for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 13:02:23 +00:00
Gilles Depeyrot
d99937cdd8 only set focus on textctrl item if it exists (exists if combo box is editable)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 13:01:15 +00:00
Stefan Csomor
b8f2db1f34 added border clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 08:59:49 +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
7372fd0a3c added option for getting visible region w/o children clipped, added to redrawing of control code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 21:05:43 +00:00
Mattia Barbon
bd996abe63 Fixed yet another error in my wxCmdLineParser mdifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 17:55:54 +00:00
Stefan Csomor
327788acc5 corrected scrolling problems for controls, switched to separate wxSpinCtrl implementation, both wxComboBox and wxSpinCtrl now have proper parenting for their members
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:46:45 +00:00
Stefan Csomor
434ec26e81 corrected scrolling problems for controls, switched to wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:44:21 +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
Mattia Barbon
e02911a260 This is a quick hack: if there is no global wxMessageOutput instance, and
there is a wxApp instance, call wxTheApp->DoInit() to initialize the
global wxMessageOutput instance. The correct solution is to ensure that
wxApp::DoInit is always called.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:58:32 +00:00
Mattia Barbon
0cf8b31be5 Assert is there is no wxMessageOutput
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:55:29 +00:00
Mattia Barbon
fd2807075d Fixed logic error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 21:06:49 +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
81001ff133 Regenerated files.lst after addition of listbase.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-31 20:40:46 +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
Václav Slavík
79683a1326 fixed icons displaying in wxHtmlHelpFrame
(somebody obviously didn't bother to check his changes...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 22:01:13 +00:00
Mattia Barbon
bf5c9d349f Due to my previous commit, calling wxWindow::Create( ... wxSize(-1,-1) was
causing a BadMatch error *trying to set width/height to 0).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 21:20:01 +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
93e8d870e8 Must include wx/listctrl.h unfortunately, for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 16:14:12 +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
David Webster
5d9a356404 Weekly Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-30 11:56:31 +00:00
Mattia Barbon
99bdcd556e Fixed my utnpaste error (thanks to Marcin Wojdyr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 21:05:43 +00:00
Mattia Barbon
a4a2e5d2f3 w32api 2.0 will have shlwapi.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 20:34:11 +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
1ae72ce2a7 Generate EVT_SPINCTRL_UPDATED for wxMotif, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 20:25:52 +00:00
Vadim Zeitlin
229653c99e fixed bug due to which all items in a virtual control stayed sometimes selected even after Clear()ing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 18:29:44 +00:00
Ryan Norton
830efc9b0c Tcl regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 12:27:49 +00:00
Ryan Norton
a2acc3b918 Tcl regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 10:56:07 +00:00
David Webster
757cc9def7 Slider Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 04:32:56 +00:00
Ron Lee
007c77ab4d The world should not end if a server has no peer. Let's return FALSE instead.
GAddress_copy should copy truthfully, not mangle the result if things are
going badly.  An earlier incarnation of the above.
Disable events before closing the socket, though just disabling them at all
will do.  This was the cause of the nasty 'crash on fail to bind' behaviour
that people have been seeing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 04:13:25 +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
44d130a35e Check for NULL pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 20:51:02 +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
Václav Slavík
4e9cbd33d0 ported characters escaping in menus to GTK+ 2.0
(it is now possible to have / in menu entries, unlike in case of GTK+ 1.2;
and \ was fixed to work in 2.0)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 18:48:36 +00:00
Robert Roebling
8a9650eaaf New implementation of ShowFullScreen(). It works
so well, it is hard to believe.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 16:23:25 +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
04ea7f93e2 IMplement SetFilterINdex()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 10:16:50 +00:00
Mattia Barbon
835ce09e8d Added statline.h to wxMotif files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:24:44 +00:00
Mattia Barbon
54c7aaca23 Check for NULL before dereferencing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:14:19 +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
Ron Lee
b40e227882 minus one show stopper typo and a couple of warnings on mingw.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 05:15:39 +00:00
Václav Slavík
a02376c832 added wxADJUST_MINSIZE to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 22:09:04 +00:00
Václav Slavík
7672597c3e fix for memory leak in XRC-generated CXX resources code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 22:08:59 +00:00
Julian Smart
2cbc7f485f Don't fail to register remaining window classes if
one fails to register
Set window proc for non-control windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 16:13:02 +00:00