Skip to content

Commit

Permalink
Assorted fixes from working with examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
corranwebster committed Jan 21, 2017
1 parent f615518 commit 8a02c38
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion examples/tasks/advanced/python_editor_wx.py
Expand Up @@ -22,7 +22,7 @@
# Enthought library imports.
from traits.api import Bool, Event, Instance, File, Unicode, Property, provides
from pyface.tasks.api import Editor
from pyface.util.python_stc import PythonSTC, faces
from pyface.wx.python_stc import PythonSTC, faces

# Local imports.
from i_python_editor import IPythonEditor
Expand Down
2 changes: 1 addition & 1 deletion pyface/ui/wx/expandable_header.py
Expand Up @@ -23,9 +23,9 @@
from traits.api import Instance, Event, Str, Bool

# local imports
from pyface.wx.util.font_helper import new_font_like
from .image_resource import ImageResource
from .widget import Widget
from pyface.util.font_helper import new_font_like


class ExpandableHeader(Widget):
Expand Down
2 changes: 1 addition & 1 deletion pyface/ui/wx/heading_text.py
Expand Up @@ -26,7 +26,7 @@
# Local imports.
from pyface.i_heading_text import IHeadingText, MHeadingText
from pyface.image_resource import ImageResource
from pyface.util.font_helper import new_font_like
from pyface.wx.util.font_helper import new_font_like
from .widget import Widget


Expand Down
2 changes: 1 addition & 1 deletion pyface/ui/wx/preference/preference_dialog.py
Expand Up @@ -26,8 +26,8 @@
from pyface.ui.wx.layered_panel import LayeredPanel
from pyface.ui.wx.split_dialog import SplitDialog
from pyface.ui.wx.viewer.tree_viewer import TreeViewer
from pyface.util.font_helper import new_font_like
from pyface.viewer.default_tree_content_provider import DefaultTreeContentProvider
from pyface.wx.util.font_helper import new_font_like


class PreferenceDialog(SplitDialog):
Expand Down
2 changes: 1 addition & 1 deletion pyface/ui/wx/python_editor.py
Expand Up @@ -26,7 +26,7 @@
# Local imports.
from pyface.i_python_editor import IPythonEditor, MPythonEditor
from pyface.key_pressed_event import KeyPressedEvent
from pyface.util.python_stc import PythonSTC, faces
from pyface.wx.python_stc import PythonSTC, faces
from .widget import Widget


Expand Down
5 changes: 1 addition & 4 deletions pyface/ui/wx/splash_screen.py
Expand Up @@ -28,13 +28,10 @@
from traits.api import Any, Bool, Font, Instance, Int, provides
from traits.api import Tuple, Unicode

# Private Enthought library imports.
# FIXME v3: This should be moved out of pyface.
from pyface.util.font_helper import new_font_like

# Local imports.
from pyface.i_splash_screen import ISplashScreen, MSplashScreen
from pyface.image_resource import ImageResource
from pyface.wx.util.font_helper import new_font_like
from .window import Window


Expand Down
2 changes: 1 addition & 1 deletion pyface/ui/wx/tree/tree.py
Expand Up @@ -32,7 +32,7 @@
from pyface.tree.tree_model import TreeModel
from pyface.ui.wx.gui import GUI
from pyface.ui.wx.image_list import ImageList
from puface.ui.wx import Widget
from pyface.ui.wx.widget import Widget
from pyface.wx.drag_and_drop import PythonDropSource, PythonDropTarget


Expand Down
2 changes: 1 addition & 1 deletion pyface/util/font_helper.py
Expand Up @@ -14,4 +14,4 @@
'DEPRECATED: pyface.util.font_helper, use pyface.wx.utils.font_helper instead. '
'Will be removed in Pyface 7.')

from pyface.wx.utils.font_helper import *
from pyface.wx.util.font_helper import *

0 comments on commit 8a02c38

Please sign in to comment.