]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextbulletspage.cpp
Create a text measuring context until a real context is assigned, this allows things...
[wxWidgets.git] / src / richtext / richtextbulletspage.cpp
index 34dde8e2d21bca7c5cdaceaf4a7c804d021bc5ac..61cad9f528fb72017ffc387161f39e413aca7e6b 100644 (file)
@@ -361,7 +361,7 @@ bool wxRichTextBulletsPage::TransferDataFromWindow()
                 wxRichTextBuffer::GetRenderer()->EnumerateStandardBulletNames(standardBulletNames);
                 if (sel < (int) standardBulletNames.GetCount() && m_bulletNameCtrl->GetValue() == selName)
                     attr->SetBulletName(standardBulletNames[sel]);
-                else            
+                else
                     attr->SetBulletName(m_bulletNameCtrl->GetValue());
             }
             else