2014-12-07 01:34:49 +01:00
|
|
|
From: Jan Engelhardt <jengelh@inai.de>
|
|
|
|
Date: 2014-12-05 19:29:16.174123839 +0100
|
|
|
|
|
|
|
|
build: fix compile errors/warnings
|
|
|
|
|
|
|
|
./src/qt/accel.cpp: In member function 'QList<QShortcut*>
|
|
|
|
wxAcceleratorTable::ConvertShortcutTable(QWidget*) const':
|
|
|
|
./src/qt/accel.cpp:88:11: error: 'Node' is not a member of
|
|
|
|
'wxAccelList'
|
|
|
|
|
2015-03-27 17:59:01 +01:00
|
|
|
Change code to use full PIMPL so that wx headers do not depend on Qt at all
|
|
|
|
(this is the declared goal of wx).
|
2014-12-07 01:34:49 +01:00
|
|
|
---
|
2017-11-28 13:46:45 +01:00
|
|
|
src/qt/accel.cpp | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2014-12-07 01:34:49 +01:00
|
|
|
|
2017-11-28 13:46:45 +01:00
|
|
|
Index: wxWidgets-3.1.1~2244/src/qt/accel.cpp
|
2014-12-17 19:06:13 +01:00
|
|
|
===================================================================
|
2017-11-28 13:46:45 +01:00
|
|
|
--- wxWidgets-3.1.1~2244.orig/src/qt/accel.cpp
|
|
|
|
+++ wxWidgets-3.1.1~2244/src/qt/accel.cpp
|
|
|
|
@@ -86,7 +86,7 @@ QList< QShortcut* > *wxAcceleratorTable:
|
2014-12-07 01:34:49 +01:00
|
|
|
{
|
2017-11-28 13:46:45 +01:00
|
|
|
QList< QShortcut* > *qtList = new QList< QShortcut* >;
|
2014-12-07 01:34:49 +01:00
|
|
|
|
|
|
|
- for ( wxAccelList::Node *node = M_ACCELDATA->m_accels.GetFirst(); node; node = node->GetNext() )
|
2017-11-28 13:46:45 +01:00
|
|
|
+ for (wxAccelList::compatibility_iterator node = M_ACCELDATA->m_accels.GetFirst(); node; node = node->GetNext())
|
2014-12-07 01:34:49 +01:00
|
|
|
{
|
2017-11-28 13:46:45 +01:00
|
|
|
qtList->push_back(ConvertAccelerator( node->GetData(), parent ));
|
2014-12-07 01:34:49 +01:00
|
|
|
}
|