title: Expected ')' before '*' token
body: <p>So this is more of a syntax problem. I keep getting the error "Expected ')' before '*' token" on the line:</p>
  
  <pre><code>#include "CDocumentObserver.h"
  #include "CViewPlayerDlg.h"
  
  /*
   * Class:    CViewPlayer
   *
   */
  class CViewPlayer : public wxWindow, public CDocumentObserver
  {
  public:
        CViewPlayer(CViewPlayerDlg *dlg);                //here
  </code></pre>
  
  <p>in CViewPlayer.h. The .cpp constructor looks like:</p>
  
  <pre><code>#include "CViewPlayer.h"
  #include "wx/prec.h"
  #include "CViewPlayerDlg.h"
  
  using namespace std;
  
  BEGIN_EVENT_TABLE(CViewPlayer, wxWindow)
      EVT_PAINT(CViewPlayer::OnPaint)
  END_EVENT_TABLE()
  
  CViewPlayer::CViewPlayer(CViewPlayerDlg *dlg) :
      wxWindow(dlg, wxID_ANY, wxDefaultPosition, wxSize(dlg-&gt;GetDocument()-&gt;GetSize()), wxBORDER_SUNKEN),
      CDocumentObserver(dlg-&gt;GetDocument()), mStartTime(0), mPlayTime(0), mPlaying(false)
  {
      SetBackgroundColour(wxColour(128, 128, 128));
      SetClientSize(GetDocument()-&gt;GetSize());
  }
  </code></pre>
  
  <p>What causes this error? I thought it was that something was wrong in the constructor of the .cpp but I have no idea.</p>