Commit Graph

19892 Commits

Author SHA1 Message Date
Vadim Zeitlin
ca7adbf8bc initial implementation of wxAboutBox()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:02:04 +00:00
Vadim Zeitlin
fee9bb24d9 fixed VC warning about unreachable code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 00:35:44 +00:00
Paul Cornett
3a7af48f21 small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 18:32:49 +00:00
Paul Cornett
2365667381 some cleanup, and plug a few small holes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 18:32:11 +00:00
Robert Roebling
1286b7ba6c Not everything has to be virtual.
Made short cuts for adding columns more useful.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 14:15:53 +00:00
Vadim Zeitlin
4c268e6a10 fix for handling from Francesco
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 22:37:03 +00:00
Robert Roebling
4846890010 Return toolbars "own" GdkWindow, required among
others for mouse event reporting.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 21:49:10 +00:00
Robin Dunn
7f3450784c more informative assert message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 17:14:39 +00:00
Paul Cornett
7002950658 make pixbuf/alpha handling more coherent in gtk wxBitmap, allow pixbuf without alpha
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 16:34:45 +00:00
Paul Cornett
5a67db4861 don't invert mono bitmaps in Rescale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 15:49:29 +00:00
Robert Roebling
31fb32e137 Implemended column header mouse clicks.
Ascending/descending sorting.
  Setting the little arrow indicator for ascending
    and desceding sorting.
  Generic stubs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 09:50:45 +00:00
Robin Dunn
ce9da810d8 Allow the native toolbar to have more han one button toggled at a time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 04:47:30 +00:00
Robin Dunn
dbe6f5f00b Applied second part of patch #1570448, use the device origin for where
to clear


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 00:31:18 +00:00
Robin Dunn
b7a0abc732 Part of patch# 1570448, use dwRop for StretchBIBits too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 23:51:28 +00:00
Jamie Gadd
ebd9ec2931 Need to update the bg brush when the first page is added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 21:34:54 +00:00
Robert Roebling
47cef10f28 Added sort order and alignement for column headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:35:23 +00:00
Mattia Barbon
3e0071d949 Fix buffer overrun in Linux/x86_64 (Pixel is a 64 bit long, passing
a 32 bit int pointer to XtVaGetValues will cause trouble). Using a long
should suffice. A configure test would be better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:34:25 +00:00
Robert Roebling
07a84e7bbb Add support for bitmaps in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:06:21 +00:00
Robert Roebling
3ff07edb0b [ 1560785 ] wxFileName::IsReadable/Writable/Executable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 17:28:31 +00:00
Włodzimierz Skiba
df3871691e Warning fixes and TODO markup for easier finding by brave volounteers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 07:18:25 +00:00
Vadim Zeitlin
f40ea601bf honour wxBU_EXACTFIT in wxToggleButton (patch 1567892)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 23:02:13 +00:00
Vadim Zeitlin
a863333e37 fixed off by 2 error in HasPage() (patch 1562871)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 22:58:23 +00:00
Vadim Zeitlin
595191bba9 fix the length passed to wxMB2WC (replaces patch 1554431); don't use (and especially don't overflow) fixed size buffer in the same function (just how many bugs can there be in 5 lines of code?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 19:43:20 +00:00
Vadim Zeitlin
e0876d7381 corrected date in header; removed extra wx/wxprec.h inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 18:13:49 +00:00
Vadim Zeitlin
6b036356ab updated copyright year, s/wxWindows/wxWidgets/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 18:05:25 +00:00
Vadim Zeitlin
493e7eb40c fixed unused var warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 17:45:58 +00:00
Robert Roebling
f828871d12 Add row activated event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 13:23:20 +00:00
Robert Roebling
97c7099a70 Fix warning for unknown menu stock id.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 13:21:56 +00:00
Robin Dunn
2f34cf6090 Avoid warnings when wxMAC_USE_CORE_GRAPHICS_BLEND_MODES is not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:19:19 +00:00
Robin Dunn
f43426c1b9 Bakefile changes for building the graphics context modules, and
setup/configure changes for setting wxUSE_GRAPHICS_CONTEXT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:13:03 +00:00
Robin Dunn
7ba86d938d Wrap module in #if wxUSE_GRAPHICS_CONTEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:56:07 +00:00
Robin Dunn
38af4365b3 fix parameter type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:54:36 +00:00
Robin Dunn
5ce3abfb25 Avoid ambigous overload errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:53:35 +00:00
Paul Cornett
f7354d9269 univ build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 19:06:57 +00:00
Robert Roebling
fc211fe5ce More selection work in GTK+ version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 17:28:19 +00:00
Stefan Csomor
539872aef3 fixes for non precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:49:09 +00:00
Stefan Csomor
184fc6c87d cairo implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:47:17 +00:00
Stefan Csomor
dc8883366b adding alpha to gtk colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:45:33 +00:00
Paul Cornett
e808cf8a0a Don't free a string that is managed by wxGtkString, that's the whole _point_ of wxGtkString.
While we're at it, lets use it some more.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:01:18 +00:00
Robert Roebling
baa9ebc473 Renamed wxDataViewCell to wxDataViewRenderer since the
class just renders the cell, it doesn't represent one.
    Maybe wxDataViewCellRenderer would be best...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:24:03 +00:00
Vadim Zeitlin
a0020fcd54 make wxSemaphore::Post() return wxSEMA_OVERFLOW as documented (patch 1557642)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:05:40 +00:00
Robert Roebling
6ee2c58bd8 Implemented GetSelection() and GetSelections().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:59:48 +00:00
Vadim Zeitlin
0d194444a7 avoid flicker in methods which don't change listbox size by not calling XtUnmanage/ManageChild() unnecessarily (patch 1566670)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:55:49 +00:00
Vadim Zeitlin
dd47af27e1 fixes for compilation with wxUSE_XXX==0 and some other minor fixes (patch 1569904)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:53:40 +00:00
Vadim Zeitlin
d9b0ee1eca fix wxFilesystem compilation if wxUSE_FFILE is 0 but wxUSE_FILE is 1; disable wxFileSystem if both wxUSE_(F)FILE are 0 (modified patch 1569960)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:38:58 +00:00
Paul Cornett
6ba2e1940f don't set negative window size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:29:25 +00:00
Paul Cornett
df9fac6d21 header cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:28:36 +00:00
Robert Roebling
eb7f97f8d6 Added event skeletons, defines, event ids..
Implemented wxEVT_DATAVIEW_ROW_SELECTED.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 13:23:31 +00:00
Robert Roebling
6ff7eee7ea Added selection API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:39:08 +00:00
Robert Roebling
0a71f9e92f Replaces size_t with unsigned int in wxDataViewCtrl API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:09:06 +00:00