summaryrefslogtreecommitdiff
path: root/wx+/popup_dlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/popup_dlg.cpp')
-rw-r--r--wx+/popup_dlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/wx+/popup_dlg.cpp b/wx+/popup_dlg.cpp
index 5ab17564..d6c25fc8 100644
--- a/wx+/popup_dlg.cpp
+++ b/wx+/popup_dlg.cpp
@@ -10,7 +10,7 @@
#include <wx/app.h>
#include <wx/display.h>
#include <wx/sound.h>
-#include "app_main.h"
+//#include "app_main.h"
#include "bitmap_button.h"
#include "no_flicker.h"
#include "window_layout.h"
@@ -36,7 +36,7 @@ void setBestInitialSize(wxRichTextCtrl& ctrl, const wxString& text, wxSize maxSi
const int rowGap = 0;
int maxLineWidth = 0;
- int rowHeight = 0;
+ int rowHeight = 0; //alternative: just call ctrl.GetCharHeight()!?
int rowCount = 0;
bool haveLineWrap = false;
bgstack15