[linux-audio-user] Re: [linux-audio-announce] Announcing initial release of FreqTweak
Jesse Chappell
jesse at essej.net
Sun Oct 13 16:30:01 EDT 2002
[sorry, earlier message fried...]
OK, here is a patch to fix that... new sourceforge file release is on its
way soon.
cd freqtweak-0.4
patch -p0 < /path/to/portsel.diff jlc
On Sun, 13 Oct 2002, Reiner Klenk wrote:
> On Sun, 13 Oct 2002, Jesse Chappell wrote:
>
> > Announcing the initial release of FreqTweak (v0.4)
> >
> > http://freqtweak.sourceforge.net
> >
>
> Hello, I get the following:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include
> -I/usr/lib/wx/include/gtk-2.2 -DGTK_NO_CHECK_CASTS -D__WXGTK__
> -D_REENTRANT -DNEWWX -I/usr/local/include -g -Wall -O3
> -fomit-frame-pointer -fstrength-reduce -funroll-loops
-fmove-all-movables
> -ffast-math -mcpu=i686 -march=i686 -c FTportSelectionDialog.cpp
> FTportSelectionDialog.cpp: In method `void
> FTportSelectionDialog::update ()':
> FTportSelectionDialog.cpp:118: no matching function for call to
> `wxListBox::DeselectAll ()'
> FTportSelectionDialog.cpp: In method `void
> FTportSelectionDialog::OnDeselectAll (wxCommandEvent &)':
> FTportSelectionDialog.cpp:156: no matching function for call to
> `wxListBox::DeselectAll ()'
>
> wx is 2.2.9
>
> Regards,
> Reiner
-------------- next part --------------
Index: src/FTportSelectionDialog.cpp
===================================================================
RCS file: /cvsroot/freqtweak/freqtweak/src/FTportSelectionDialog.cpp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 FTportSelectionDialog.cpp
--- src/FTportSelectionDialog.cpp 13 Oct 2002 04:13:28 -0000 1.1.1.1
+++ src/FTportSelectionDialog.cpp 13 Oct 2002 20:14:50 -0000
@@ -114,13 +114,10 @@
}
}
free (availports);
-#ifdef NEWWX
- _listBox->DeselectAll();
-#else
+
for (int i=0; i < _listBox->Number(); i++) {
_listBox->Deselect(i);
}
-#endif
if (connports) {
for (int i=0; connports[i]; i++) {
int n = _listBox->FindString(connports[i]);
@@ -152,13 +149,9 @@
void FTportSelectionDialog::OnDeselectAll(wxCommandEvent &event)
{
-#ifdef NEWWX
- _listBox->DeselectAll();
-#else
for (int i=0; i < _listBox->Number(); i++) {
_listBox->Deselect(i);
}
-#endif
}
More information about the Linux-audio-user
mailing list