Permalink
Browse files

Update includes in GutterCtrl

  • Loading branch information...
1 parent a0b64b9 commit 0b0a6e3276d394c6fd4c7427cd9caf5695be4575 @adamv adamv committed Oct 16, 2009
Showing with 8 additions and 4 deletions.
  1. +5 −0 src/GutterCtrl.cpp
  2. +3 −4 src/GutterCtrl.h
View
@@ -16,6 +16,11 @@
#include "tmTheme.h"
#include "EditorCtrl.h"
+#ifndef WX_PRECOMP
+#include <wx/dc.h>
+#include <wx/dcclient.h>
+#endif
+
unsigned int _gutter_digits_in_number(unsigned int number) {
unsigned int count = 1; // minimum is one
while ((number /= 10) != 0) ++count;
View
@@ -16,15 +16,14 @@
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
- #include <wx/control.h>
- #include <wx/dc.h>
- #include <wx/dcclient.h>
- #include <wx/dcmemory.h>
+#include <wx/control.h>
+#include <wx/dcmemory.h>
#endif
struct tmTheme;
struct cxFold;
class EditorCtrl;
+class dc;
class GutterCtrl : public wxControl {
public:

0 comments on commit 0b0a6e3

Please sign in to comment.