Commit Graph

16734 Commits

Author SHA1 Message Date
Václav Slavík
6af507f77e preparation for X11 wxTaskBarIcon version:
1. moved events to common file from MSW specific
2. deprecated virtual functions in favour of event handlers
3. removed taskbar.cpp files from port that don't implement it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 22:33:47 +00:00
Robin Dunn
4e6beae5ec Handle checkable items the right way in all cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 22:21:38 +00:00
Julian Smart
0a2c03984a Applied [ 714756 ] Clean warnings on build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 13:13:46 +00:00
Roger Gammans
a967f0480b * rename maxOnOverflow parameter to CoordToRowOrCol() to clipToMinMax
* ensure CoordToRowOrCol() range is  0 -> nMax if clipOnMinMax is set
                                and -1 -> nMax if clipOnMinMax is not set

 * check on uses of YToRow() / XToCol() and replace with
   calls internalYToRow() / internalXToCol() removing any external
   overflow handling where appropriate.

 * Add tests for overflow to prevent sending 'off grid' label events,
   would be indistinguishable from CornerLabel events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 21:14:07 +00:00
Robin Dunn
02822c8cdf Correction to my new menu code: handle submenus on menubar menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 21:01:52 +00:00
Vadim Zeitlin
6568015373 start of Greek translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 20:54:58 +00:00
Robin Dunn
a01fe3d6d2 Fixed menu event propogation to be consistent across platforms, and
with the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:39:20 +00:00
Julian Smart
91ce04cf9e Fixed OnSetCursor for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:17:05 +00:00
Julian Smart
e5c4c38b5d Applied patch [ 709618 ] fixes drawing position in wxPrinterDC::DoBlit()
wxPrinterDC::DoBlit() in current CVS is drawing to the
source coords rather than the dest coords. This patch
corrects that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:19:15 +00:00
Julian Smart
23254b138a Applied patch [ 708582 ] wxGenericFileDialog & expose generic wxFileCtrl
By John Labenski (jrl1)

The wxFileCtrl is a nice little widget that when
married with a wxDirCtrl makes for a simple, easy to
use explorer type widget.

include/wx/generic/filedlgg.h, src/generic/filedlg.cpp

Expose wxFileData and wxFileCtrl, rename wxFileDialog
to wxGenericFileDialog, it can be used in MSW now.

wxFileCtrl - added sorting for clicking in the col headers.
let wxGenericFileDialog manage it's own static text.
allow for viewing of root (for showing drives) in MSW
wxFileData - moved enum for wxFileCtrl col's into it.
added IsDrive and use bitmask instead of a slew of
bools for IsDir...

A couple bug fixes for wxFileCtrl for MSW, c:\.. is not
a file and can't be stated, show drives.

Basicly its the same as before, with no change besides
sorting for GTK. For MSW, the wxFileCtrl works in a few
more cases, hopefully all the MGL etc code was
untouched and should still work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:10:08 +00:00
Julian Smart
72c30d6572 Applied patch [ 706329 ] [wxMac] Fixes wxGetLocalTimeMillis
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:01:59 +00:00
Julian Smart
715d7d25b3 Applied patch [ 708016 ] Setup0.h updated according wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 12:58:46 +00:00
Julian Smart
5a618a14c6 Applied patch [ 708377 ] Make NET (smapi.cpp) UNICODE compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 10:42:56 +00:00
Julian Smart
333a6456b9 Fixed the wxX11 crash bug on opening a dialog that has a parent,
by only refreshing subwindows that are not top level windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 10:20:46 +00:00
Julian Smart
695c21b118 Unicode-enabled the STC sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 09:09:06 +00:00
Vadim Zeitlin
736f28f8d8 corrected description of auto-created wxConfig ownership (patch from bug 706868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 23:20:21 +00:00
Vadim Zeitlin
49fca29840 backport wxFileConfig fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 22:16:59 +00:00
Vadim Zeitlin
128e0251fe fixed problem of deleting an entry added to an initially empty root group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 22:16:23 +00:00
Vadim Zeitlin
3908fe9b00 corrected a slightly confusing wxTE_LEFT/CENTRE/RIGHT styles description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 21:21:25 +00:00
Mattia Barbon
d03bb63c48 Remove dulicated call to wxBitmap::Init/CleanupStandardHandlers,
which is already called from a module in bmpbase.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:59:59 +00:00
Mattia Barbon
be05eab690 wxMotif does not have wxBitmapDataObject.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:57:48 +00:00
Mattia Barbon
6799385e8c Partial fix for mono wxMemoryDC not working.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:55:33 +00:00
Mattia Barbon
395cb311cf Remove deprecated methods use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:52:47 +00:00
Mattia Barbon
236de6f62a No real change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:50:21 +00:00
Mattia Barbon
59e034c034 Make wxIcon more independent from wxBitmap implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:48:57 +00:00
Mattia Barbon
70aac632a1 Some updates for wxMotif documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:46:36 +00:00
Julian Smart
739e366ac9 Applied patch [ 705212 ] wxTextCtrl::SetSelection() for wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 17:55:42 +00:00
Mattia Barbon
2408a0d514 Regenerated configure scripts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 17:18:40 +00:00
Julian Smart
8dda7c0c48 Applied [ 703017 ] TreeCtrl sample build fails when using generic control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:40:35 +00:00
Julian Smart
5e7ea8ebb2 Correction to last patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:25:23 +00:00
Julian Smart
3037523a7c Applied patch [ 700313 ] Allow wxUSE_OWNER_DRAWN = 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:18:51 +00:00
Julian Smart
873a543b62 Applied [ 700293 ] FL Unicode patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:14:13 +00:00
Julian Smart
db657fb29a Removed treectrl.h inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 13:54:01 +00:00
Julian Smart
6e9b4c7659 Applied patch [ 694561 ] FL Release build DLL include path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 11:15:10 +00:00
Julian Smart
083f7497d3 Applied some of patch [ 688466 ] MSVC7 build & bug fixes
by Darren Whobrey


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 11:10:37 +00:00
Stefan Csomor
baf3431445 better spacing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 08:32:19 +00:00
Stefan Csomor
aa812de01b setting origin to printable area for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 08:21:29 +00:00
David Elliott
8ea5271ee7 Implemented wxWindowCocoa::Cocoa_drawRect
Implemented drawRect override in wxPoserNSView
Declared pure virtual wxCocoaNSView::Cocoa_drawRect
Made wxWindowCocoa::Cocoa_FrameChanged protected (unrelated)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 17:59:54 +00:00
David Elliott
edd2522079 Changed defined(__DARWIN__) to (defined(__DARWIN__) && defined(__WXMAC__))
wxGTK running on Darwin certainly can not use the CF process callback
and I don't plan for wxCocoa to use it either.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 17:16:59 +00:00
David Elliott
b0abe9eeec Removed deprecated parser.o from cocoa.t, reran tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 16:44:48 +00:00
David Elliott
a6bc93cc74 Wrap file with #if wxUSE_SPINBTN instead of #if 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 15:50:40 +00:00
Václav Slavík
5c451707f3 XRC's unknown widget container handles removal of the widget now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 22:02:15 +00:00
Mattia Barbon
973ac5bbb2 Regenerated some more makefiles/filelists.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 19:33:06 +00:00
Mattia Barbon
dfa2a1d92b Removed Motif files that only contained stubs
for functionality that is:
1 - not Motif, but rather OS/WM specific:
    wxJoystick, wxWave, wxTaskBarIcon
2 - not provided natively by Motif:
    wxColourDialog, wxFontDialog, wxDirDialog,
    wxMetafile
3 - obsolete: wxTab*
4 - cruft: helpxxxx.h/cpp

  Regenerated configure and some filelist.txt-dependent
files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 19:23:10 +00:00
Mattia Barbon
e8508ea8a8 Removed a deprecated wxBitmap constructor, and some
more deprecated code. Move XCreateInsensitivePixmap to
bmpbase.cpp (another step towards removing
src/motif/bitmap.cpp).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 18:53:47 +00:00
Mattia Barbon
01772f64db Fix filelist.t to work with the packaged tmake.exe, which
does not include 'lib.pm'.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 18:49:50 +00:00
Julian Smart
df32effb39 Added 'deprecated' files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 16:19:31 +00:00
Julian Smart
3b69115cba More deprecated code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 14:46:00 +00:00
Julian Smart
965b4f87d9 Removed old classes and functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 14:00:53 +00:00
Julian Smart
170e293d9f Added distrib file for deprecated classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 10:27:41 +00:00