Fix time axis view length.
[dcpomatic.git] / src / wx / timeline.h
index 503025f3ce3e6f0006a237505db422ae9d386a33..1ec633085935bb0af1e4d07456de3a19a45651f9 100644 (file)
@@ -44,9 +44,7 @@ public:
 
        void force_redraw (dcpomatic::Rect<int> const &);
 
-       int width () const {
-               return GetVirtualSize().GetWidth ();
-       }
+       int width () const;
 
        int track_height () const {
                return _track_height;