Commit Graph

17521 Commits

Author SHA1 Message Date
Mattia Barbon
6c33b24c53 Derive wxScrollBar from wxScrollBarBase, plus miscellaneous
refactoring. Adjusted default scrollbar size to match the
size of wxScrolledWindow (and other scrolled controls) scrollbars.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:36:31 +00:00
Mattia Barbon
c8ec0b3d36 Allow initialising wxStaticBitamp with wxNullBitmap/wxNullIcon,
automatically resize the control to match the bitmap (as wxMSW does).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:34:13 +00:00
Mattia Barbon
ffa3d6b8a3 Removed some duplicated code, made wxCursor( wxImage )
handling of dark/light colors agree with wxMSW and wxGTK, i.e.
dark -> black, light -> white.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:31:41 +00:00
Mattia Barbon
d7c40406e6 Don't leave the wxStaticBox hanging around after wxStaticLine
destruction.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:28:51 +00:00
Chris Elliott
e6275f8d02 Borland makefiles for contrib keeping output apart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 13:43:30 +00:00
Jouk Jansen
dc3b0532ee Committing in .
OpenVMS complie issues
 +
 src/generic/statline.cpp : setup should be runned before first #ifdef

 Modified Files:
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/generic/statline.cpp
 	wxWindows/src/motif/descrip.mms wxWindows/src/x11/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 06:09:38 +00:00
Julian Smart
983d2e1414 More style fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 22:59:24 +00:00
Julian Smart
e0b9ad2982 Further border style corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 22:15:25 +00:00
Gilles Depeyrot
245abf09bf ignore dll build output directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 20:41:36 +00:00
Julian Smart
3fcea4b10b Include missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 19:25:15 +00:00
Václav Slavík
96aba1e942 clarify using embedded XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 16:20:54 +00:00
Chris Elliott
2cedc12a6a Borland makefiles now keep output apart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 11:34:39 +00:00
Chris Elliott
ba0d56c3c2 fix SF bug 742496
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 10:23:03 +00:00
Julian Smart
a5ae8241de Allow printing objects to be passed a wxWindow, not a wxFrame
(vestigial remains of older wxWin version)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 09:55:28 +00:00
Chris Elliott
9f6df75d32 dialogs sample now works with digitalmars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 09:17:31 +00:00
Vadim Zeitlin
a9103a81be fix m_Matches overflow if Compile() is called more than once (bug 742236)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 20:28:01 +00:00
Václav Slavík
7df93c2deb fix _() for wxUSE_INTL==0 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 11:18:28 +00:00
Václav Slavík
c53207a546 added CompareAccelString function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 11:18:13 +00:00
Vadim Zeitlin
90985bdec4 added a link to the Wiki page explaining MSVC++ install process
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 22:27:36 +00:00
Stefan Csomor
c69e74885f guarded M_PI declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 21:31:29 +00:00
Mattia Barbon
a5f0148111 Removed obsoleted files from vc.t.
Regenerated some makefiles/project files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 20:23:12 +00:00
Mattia Barbon
29d0a26e65 Compilation/warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 20:07:22 +00:00
Mattia Barbon
7bb2947d52 Added --enable-accessibility switch to configure
(off by default). Fixed makefile for the accessibility
sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 20:06:46 +00:00
Mattia Barbon
a538c1c36f wxMotif now uses src/x11/region.cpp, change makefiles accordingly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 20:01:32 +00:00
Mattia Barbon
148b44a1e7 Used wxRegion code from wxX11.
Removed update rect list from wxWindow
(not necessary anymore).
  Simplified and corrected clipping region handling
in wxWindowDC. Stopped wxWindowDC::DoBlit from
destroying the clipping region.
  Simplified wxPaintDC code.
Added wxWindow::DoCreateScrollBar helper function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 19:41:05 +00:00
Julian Smart
69108ccb4e Removed wxHTMLHelpControllerBase (putting the
implementation into wxExtHelpController.
wx/helphtml.h now includes wx/html/helpctrl.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 11:20:39 +00:00
Stefan Csomor
33a74b19c0 reflected latest file movements...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:42:56 +00:00
Stefan Csomor
4457f32a77 removed DoGetSize implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:39:01 +00:00
Stefan Csomor
7052b16ded removed carbon printing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:37:05 +00:00
Stefan Csomor
26b9b4e12a comments added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:35:06 +00:00
Stefan Csomor
8d4f85ce8d two fixes for CW/Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:30:50 +00:00
Julian Smart
b39dbf34b8 Applied patch [ 736322 ] Remove TWINE support, merge it in Wine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 19:16:45 +00:00
Julian Smart
d726047819 Applied patch [ 738821 ] Allow more features to be turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:59:07 +00:00
Julian Smart
3443393889 Applied patch [ 736321 ] Compile error for src/msw/textctrl.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:56:14 +00:00
Julian Smart
404749841f Applied patch [ 742452 ] wxPrintDialogData: can't set PD_PAGENUMS
Applied patch [ 742446 ] wxPrintDialogData::GetAllPages always returns TRUE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:38:12 +00:00
Gilles Depeyrot
9946aa4bf0 removed print.cpp from list of Mac files and regenerated files.lst
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:18:42 +00:00
Mattia Barbon
bef8d4810d MinGW compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 20:51:36 +00:00
Mattia Barbon
092276a865 Correct wxCommandEvent.IsChecked() when generated from
a checkable menu item.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 20:39:28 +00:00
Mattia Barbon
94e785e128 Remove duplicate wxEmptyString declaration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 20:36:33 +00:00
Stefan Csomor
b9c102317d deactivating wxSTAY_ON_TOP patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 19:43:08 +00:00
Robin Dunn
5aed9d5067 Fix page positioning when the tabs are on a side different than
wxNB_TOP by choosing margins dynamically instead of always using fixed
margin sizes.  Also remove unnecessary large internal borders
(although they can be reactivated by flipping an #if.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 22:41:01 +00:00
Julian Smart
92647cb718 Added pngs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 22:02:54 +00:00
Julian Smart
0a4c16d6c4 Test using transparency in menu bitmaps.
Better, but still shows background when menu item selected.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 22:01:31 +00:00
Julian Smart
c0cb30dc8f Applied patch [ 731656 ] Owner draw menu icons
Benjamin I. Williams


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 19:07:02 +00:00
Julian Smart
f3466c5537 Applied patch [ 739401 ] gtk_init() has to be called before gdk_threads_enter()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 18:54:27 +00:00
Julian Smart
1fdf858b87 Applied patch [ 740012 ] GetKeyState returns 16-Bit value on WindowsNT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 18:43:03 +00:00
Julian Smart
0fc7f695ce Applied patch [ 740071 ] Make tiff errors/warnings use wxLog functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 18:25:24 +00:00
Mattia Barbon
732c0bfdff Stop the ApplicationShell from being managed (and thus show
on the screen as a "normal" window).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 16:50:46 +00:00
Julian Smart
deda94c5b4 Noted that the preview object is deleted by the frame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 15:45:57 +00:00
Julian Smart
e6c96a7ca4 Applied patch [ 689188 ] adds wxToolBar::GetToolPos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 15:27:39 +00:00