Mark FOX17 option broken (Not related to clang 6 in particular, the FOX-1.7 API is ever changing due to being a development version. This project appears to be dead, so I'm not sure it is worth fixing.) recorder.cpp:104:9: error: no matching member function for call to 'prepend' NewMessage(); ^~~~~~~~~~~~ recorder.cpp:51:6: note: expanded from macro 'NewMessage' list.prepend((FXObject*)mm); ~~~~~^~~~~~~ /usr/local/include/fox-1.7/FXObjectList.h:256:10: note: candidate function not viable: no known conversion from 'FX::FXObject *' to 'MacroMessage *' for 1st argument FXbool prepend(TYPE* object){ return FXObjectList::prepend(object); } ^ /usr/local/include/fox-1.7/FXObjectList.h:265:10: note: candidate function not viable: no known conversion from 'FX::FXObject *' to 'const FXObjectListOf<MacroMessage>' for 1st argument FXbool prepend(const FXObjectListOf<TYPE>& objects){ return FXObjectList::prepend(objects); } ^ /usr/local/include/fox-1.7/FXObjectList.h:259:10: note: candidate function not viable: requires 2 arguments, but 1 was provided FXbool prepend(TYPE* object,FXival n){ return FXObjectList::prepend(object,n); } ^ /usr/local/include/fox-1.7/FXObjectList.h:262:10: note: candidate function not viable: requires 2 arguments, but 1 was provided FXbool prepend(TYPE** objects,FXival n){ return FXObjectList::prepend(objects,n); } ^ Rename/remake patches
20 lines
828 B
C++
20 lines
828 B
C++
--- src/doctabs.cpp.orig 2013-10-03 09:22:51 UTC
|
|
+++ src/doctabs.cpp
|
|
@@ -56,7 +56,7 @@ long DocTabs::onDnd(FXObject* sender,FXSelector sel, v
|
|
switch (FXSELTYPE(sel)) {
|
|
case SEL_DND_ENTER: {
|
|
if (getApp()->getCursorWindow()==this) { return 0; }
|
|
- setDragRectangle(0,0,width,height,FALSE);
|
|
+ setDragRectangle(0,0,width,height,false);
|
|
if (offeredDNDType(FROM_DRAGNDROP,urilistType)) {
|
|
acceptDrop();
|
|
dnd_accept=true;
|
|
@@ -504,7 +504,7 @@ long DocTab::onDnd(FXObject* sender,FXSelector sel, vo
|
|
FXEvent* ev=(FXEvent*)p;
|
|
switch(FXSELTYPE(sel)) {
|
|
case SEL_DND_ENTER: {
|
|
- setDragRectangle(0,0,width,height,FALSE);
|
|
+ setDragRectangle(0,0,width,height,false);
|
|
if (offeredDNDType(FROM_DRAGNDROP,FxteDnDTabType)) {
|
|
acceptDrop();
|
|
dnd_accept=true;
|