diff options
Diffstat (limited to 'src/FbTk/TextBox.cc')
-rw-r--r-- | src/FbTk/TextBox.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/TextBox.cc b/src/FbTk/TextBox.cc index 34671c9..34c0689 100644 --- a/src/FbTk/TextBox.cc +++ b/src/FbTk/TextBox.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: TextBox.cc,v 1.12 2004/08/31 15:26:39 rathnor Exp $ | 22 | // $Id: TextBox.cc,v 1.13 2004/09/11 22:58:20 fluxgen Exp $ |
23 | 23 | ||
24 | #include "TextBox.hh" | 24 | #include "TextBox.hh" |
25 | #include "Font.hh" | 25 | #include "Font.hh" |
@@ -157,7 +157,7 @@ void TextBox::clear() { | |||
157 | if (gc() == 0) | 157 | if (gc() == 0) |
158 | setGC(DefaultGC(FbTk::App::instance()->display(), screenNumber())); | 158 | setGC(DefaultGC(FbTk::App::instance()->display(), screenNumber())); |
159 | 159 | ||
160 | font().drawText(window(), screenNumber(), | 160 | font().drawText(*this, screenNumber(), |
161 | gc(), | 161 | gc(), |
162 | text().c_str() + m_start_pos, | 162 | text().c_str() + m_start_pos, |
163 | m_end_pos - m_start_pos, | 163 | m_end_pos - m_start_pos, |