rpms/codeblocks/FC-6 codeblocks-wx28-listbook.patch, 1.1, 1.2 codeblocks.spec, 1.12, 1.13

Dan Horak (sharkcz) fedora-extras-commits at redhat.com
Fri Jan 26 13:42:55 UTC 2007


Author: sharkcz

Update of /cvs/extras/rpms/codeblocks/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22669

Modified Files:
	codeblocks-wx28-listbook.patch codeblocks.spec 
Log Message:
 - update the listbook.patch

codeblocks-wx28-listbook.patch:

Index: codeblocks-wx28-listbook.patch
===================================================================
RCS file: /cvs/extras/rpms/codeblocks/FC-6/codeblocks-wx28-listbook.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- codeblocks-wx28-listbook.patch	18 Jan 2007 08:51:20 -0000	1.1
+++ codeblocks-wx28-listbook.patch	26 Jan 2007 13:42:24 -0000	1.2
@@ -1,16 +1,14 @@
-Index: src/plugins/contrib/wxSmith/defwidgets/wxslistbook.cpp
-===================================================================
---- src/plugins/contrib/wxSmith/defwidgets/wxslistbook.cpp	(revision 3438)
-+++ src/plugins/contrib/wxSmith/defwidgets/wxslistbook.cpp	(working copy)
-@@ -204,7 +204,11 @@
- 	if ( GetPreview() && event.LeftDown() )
- 	{
- 	    wxListbook* Preview = (wxListbook*)GetPreview();
+--- src/plugins/contrib/wxSmith/wxwidgets/defitems/wxslistbook.cpp.orig	2007-01-22 21:14:29.000000000 +0100
++++ src/plugins/contrib/wxSmith/wxwidgets/defitems/wxslistbook.cpp	2007-01-22 21:16:29.000000000 +0100
+@@ -306,7 +306,11 @@
+ {
+     UpdateCurrentSelection();
+     wxListbook* Listbook = (wxListbook*)Preview;
 +#if wxCHECK_VERSION(2, 8, 0)
-+        int Hit = wxStaticCast(Preview, wxBookCtrlBase)->HitTest(wxPoint(event.GetX(),event.GetY()));
++    int Hit = wxStaticCast(Preview, wxBookCtrlBase)->HitTest(wxPoint(PosX,PosY));
 +#else
- 	    int Hit = Preview->HitTest(wxPoint(event.GetX(),event.GetY()));
+     int Hit = Listbook->HitTest(wxPoint(PosX,PosY));
 +#endif
-         if ( Hit != wxNOT_FOUND )
-         {
-             CurrentSelection = GetChild(Hit);
+     if ( Hit != wxNOT_FOUND )
+     {
+         wxsItem* OldSel = m_CurrentSelection;


Index: codeblocks.spec
===================================================================
RCS file: /cvs/extras/rpms/codeblocks/FC-6/codeblocks.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- codeblocks.spec	26 Jan 2007 13:29:37 -0000	1.12
+++ codeblocks.spec	26 Jan 2007 13:42:24 -0000	1.13
@@ -3,7 +3,7 @@
 
 Name:		codeblocks
 Version:	1.0
-Release:	0.20.%{date}svn%{rev}%{?dist}
+Release:	0.21.%{date}svn%{rev}%{?dist}
 Summary:	An open source, cross platform, free C++ IDE
 Group:		Development/Tools
 License:	GPL
@@ -234,6 +234,9 @@
 
 
 %changelog
+* Fri Jan 26 2007 Dan Horak <dan[at]danny.cz> 1.0-0.21.20070125svn3540
+- update the listbook.patch
+
 * Fri Jan 26 2007 Dan Horak <dan[at]danny.cz> 1.0-0.20.20070125svn3540
 - update to revision 3540
 




More information about the fedora-extras-commits mailing list